diff options
author | AndreaGuarracino | 2020-09-28 11:57:51 +0200 |
---|---|---|
committer | AndreaGuarracino | 2020-09-28 11:57:51 +0200 |
commit | c72dab2788d010153d5406f2d5ecbe3824571931 (patch) | |
tree | 668ced54cfa0c27274f81cccc71397679bb63e26 /scripts/create_sra_metadata/create_sra_metadata.py | |
parent | bc2e51bc8418876cc826482ece10874b2a61fa03 (diff) | |
download | bh20-seq-resource-c72dab2788d010153d5406f2d5ecbe3824571931.tar.gz bh20-seq-resource-c72dab2788d010153d5406f2d5ecbe3824571931.tar.lz bh20-seq-resource-c72dab2788d010153d5406f2d5ecbe3824571931.zip |
new countries; updated genbank/sra scripts to manage more specimen sources
Diffstat (limited to 'scripts/create_sra_metadata/create_sra_metadata.py')
-rw-r--r-- | scripts/create_sra_metadata/create_sra_metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create_sra_metadata/create_sra_metadata.py b/scripts/create_sra_metadata/create_sra_metadata.py index d94093e..59218e9 100644 --- a/scripts/create_sra_metadata/create_sra_metadata.py +++ b/scripts/create_sra_metadata/create_sra_metadata.py @@ -155,7 +155,7 @@ for i, EXPERIMENT_PACKAGE in enumerate(EXPERIMENT_PACKAGE_SET): if VALUE_text in field_to_term_to_uri_dict['ncbi_speciesman_source']: info_for_yaml_dict['sample']['specimen_source'] = [field_to_term_to_uri_dict['ncbi_speciesman_source'][VALUE_text]] else: - if VALUE_text.lower() in ['np/op', 'np/op swab', 'np/np swab', 'nasopharyngeal and oropharyngeal swab', 'nasopharyngeal/oropharyngeal swab', 'combined nasopharyngeal and oropharyngeal swab', 'naso and/or oropharyngeal swab']: + if VALUE_text.lower() in ['np/op', 'np-op', 'np/op swab', 'np/np swab', 'nasopharyngeal and oropharyngeal swab', 'nasopharyngeal/oropharyngeal swab', 'combined nasopharyngeal and oropharyngeal swab', 'naso and/or oropharyngeal swab']: info_for_yaml_dict['sample']['specimen_source'] = [field_to_term_to_uri_dict['ncbi_speciesman_source']['nasopharyngeal swab'], field_to_term_to_uri_dict['ncbi_speciesman_source']['oropharyngeal swab']] elif VALUE_text.lower() in ['nasopharyngeal swab/throat swab', 'nasopharyngeal/throat swab', 'nasopharyngeal swab and throat swab', 'nasal swab and throat swab', 'nasopharyngeal aspirate/throat swab', 'Nasopharyngeal/Throat']: info_for_yaml_dict['sample']['specimen_source'] = [field_to_term_to_uri_dict['ncbi_speciesman_source']['nasopharyngeal swab'], field_to_term_to_uri_dict['ncbi_speciesman_source']['throat swab']] |