Skip to content
Snippets Groups Projects
Commit b43ae9d1 authored by Arthur Le Bars's avatar Arthur Le Bars
Browse files

Update get_data and load_data scripts (+gga_preprocessing update)

parent 3bfdc8df
No related branches found
No related tags found
1 merge request!1Release 1.0
...@@ -184,4 +184,4 @@ if __name__ == "__main__": ...@@ -184,4 +184,4 @@ if __name__ == "__main__":
# get_data_for_current_species.batch_modify_fasta_headers() # get_data_for_current_species.batch_modify_fasta_headers()
# logging.info("Successfully formatted files headers %s " % get_data_for_current_species.full_name) # logging.info("Successfully formatted files headers %s " % get_data_for_current_species.full_name)
logging.info("Data successfully loaded and imported for %s" % get_data_for_current_species.full_name) logging.info("Data successfully copied in src_data for %s" % get_data_for_current_species.full_name)
...@@ -166,7 +166,7 @@ class LoadData(speciesData.SpeciesData): ...@@ -166,7 +166,7 @@ class LoadData(speciesData.SpeciesData):
ftype = 'auto' ftype = 'auto'
clean_name = os.path.basename(single_file) clean_name = os.path.basename(single_file)
clean_name = clean_name.replace('_', ' ') clean_name = clean_name.replace('_', ' ') # Not a good idea for files with a complex name (solution --> rename file or remove the replace)
if single_file.endswith('.bam'): if single_file.endswith('.bam'):
ftype = 'bam' ftype = 'bam'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment