diff options
author | AndreaGuarracino | 2020-07-06 11:26:44 +0200 |
---|---|---|
committer | AndreaGuarracino | 2020-07-06 11:26:44 +0200 |
commit | 27fd3fd297edbed5e5d29669eb0ad127aec162e8 (patch) | |
tree | 3774f3a3dbe6ecd19937b8a2b0ad58a06a8d463b | |
parent | ff426b55cf7e5370d66461218d3bfb6232b882a2 (diff) | |
download | bh20-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-x | scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py | 1 |
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) |