aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreaGuarracino2020-07-06 11:26:44 +0200
committerAndreaGuarracino2020-07-06 11:26:44 +0200
commit27fd3fd297edbed5e5d29669eb0ad127aec162e8 (patch)
tree3774f3a3dbe6ecd19937b8a2b0ad58a06a8d463b
parentff426b55cf7e5370d66461218d3bfb6232b882a2 (diff)
downloadbh20-seq-resource-27fd3fd297edbed5e5d29669eb0ad127aec162e8.tar.gz
bh20-seq-resource-27fd3fd297edbed5e5d29669eb0ad127aec162e8.tar.lz
bh20-seq-resource-27fd3fd297edbed5e5d29669eb0ad127aec162e8.zip
added seq technology in its additional information field if the term is missing in the dicts
-rwxr-xr-xscripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py b/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py
index 4bb4964..7edb1dc 100755
--- a/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py
+++ b/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py
@@ -218,6 +218,7 @@ for path_metadata_xxx_xml in [os.path.join(dir_metadata, name_metadata_xxx_xml)
if seq_tec in term_to_uri_dict:
seq_tec = term_to_uri_dict[seq_tec]
else:
+ info_for_yaml_dict['technology']['additional_technology_information'] = seq_tec
missing_value_list.append('\t'.join([accession_version, 'sample_sequencing_technology', seq_tec]))
new_seq_tec_list.append(seq_tec)