diff options
author | AndreaGuarracino | 2020-11-12 18:50:13 +0100 |
---|---|---|
committer | AndreaGuarracino | 2020-11-12 18:50:13 +0100 |
commit | dbd32a3042099d52d30028364ffdadcd0f60ede2 (patch) | |
tree | 3d482ffb952c14e34afc063298ab5dcde066b32f /scripts/download_genbank_data | |
parent | 87440554e57d5c5ed846e98a3b3ec428330e15e8 (diff) | |
download | bh20-seq-resource-dbd32a3042099d52d30028364ffdadcd0f60ede2.tar.gz bh20-seq-resource-dbd32a3042099d52d30028364ffdadcd0f60ede2.tar.lz bh20-seq-resource-dbd32a3042099d52d30028364ffdadcd0f60ede2.zip |
managed the assembly_method in the scripts, doc, and the example templates
Diffstat (limited to 'scripts/download_genbank_data')
-rwxr-xr-x | scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py | 2 |
1 files changed, 2 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 87b348b..9a46474 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 @@ -179,6 +179,8 @@ for path_metadata_xxx_xml in [os.path.join(dir_metadata, name_metadata_xxx_xml) else: info_for_yaml_dict['submitter']['additional_submitter_information'] = GBReference_journal.text + # This script download and prepare data and metadata for assemblies samples + info_for_yaml_dict['technology']['assembly_method'] = 'http://purl.obolibrary.org/obo/GENEPIO_0001628' GBSeq_comment = GBSeq.find('GBSeq_comment') if GBSeq_comment is not None and 'Assembly-Data' in GBSeq_comment.text: |