aboutsummaryrefslogtreecommitdiff
path: root/scripts/create_sra_metadata/create_sra_metadata.py
diff options
context:
space:
mode:
authorAndreaGuarracino2020-11-12 18:50:13 +0100
committerAndreaGuarracino2020-11-12 18:50:13 +0100
commitdbd32a3042099d52d30028364ffdadcd0f60ede2 (patch)
tree3d482ffb952c14e34afc063298ab5dcde066b32f /scripts/create_sra_metadata/create_sra_metadata.py
parent87440554e57d5c5ed846e98a3b3ec428330e15e8 (diff)
downloadbh20-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/create_sra_metadata/create_sra_metadata.py')
-rw-r--r--scripts/create_sra_metadata/create_sra_metadata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/create_sra_metadata/create_sra_metadata.py b/scripts/create_sra_metadata/create_sra_metadata.py
index 2aac0e5..554aea3 100644
--- a/scripts/create_sra_metadata/create_sra_metadata.py
+++ b/scripts/create_sra_metadata/create_sra_metadata.py
@@ -227,6 +227,8 @@ for i, EXPERIMENT_PACKAGE in enumerate(EXPERIMENT_PACKAGE_SET):
taxon_id = SAMPLE.find('SAMPLE_NAME').find('TAXON_ID').text
info_for_yaml_dict['virus']['virus_species'] = "http://purl.obolibrary.org/obo/NCBITaxon_"+taxon_id
+ # This script download and prepare data and metadata for samples that will be mapepd againg a referenceT
+ info_for_yaml_dict['technology']['assembly_method'] = 'http://purl.obolibrary.org/obo/GENEPIO_0002028'
EXPERIMENT = EXPERIMENT_PACKAGE.find('EXPERIMENT')
INSTRUMENT_MODEL = [x.text for x in EXPERIMENT.find('PLATFORM').iter('INSTRUMENT_MODEL')][0]