From dbd32a3042099d52d30028364ffdadcd0f60ede2 Mon Sep 17 00:00:00 2001 From: AndreaGuarracino Date: Thu, 12 Nov 2020 18:50:13 +0100 Subject: managed the assembly_method in the scripts, doc, and the example templates --- scripts/create_sra_metadata/create_sra_metadata.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/create_sra_metadata') 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] -- cgit v1.2.3