aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorlltommy2020-04-28 20:31:42 +0200
committerlltommy2020-04-28 20:31:42 +0200
commit6032a373003affa641ca1e70a44c29a232b5b3ed (patch)
tree3621db63632ec830c64e6ee687691a33932ddeb3 /scripts
parent5da793a8715f5b0b231ea4d531f030ed04bc878c (diff)
downloadbh20-seq-resource-6032a373003affa641ca1e70a44c29a232b5b3ed.tar.gz
bh20-seq-resource-6032a373003affa641ca1e70a44c29a232b5b3ed.tar.lz
bh20-seq-resource-6032a373003affa641ca1e70a44c29a232b5b3ed.zip
Changes to the structure - we use lists now instead of strings where it makes sense. This allows us to have multiple values where in makes sense
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/from_genbank_to_fasta_and_yaml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/from_genbank_to_fasta_and_yaml.py b/scripts/from_genbank_to_fasta_and_yaml.py
index 5257bd1..148a7e1 100755
--- a/scripts/from_genbank_to_fasta_and_yaml.py
+++ b/scripts/from_genbank_to_fasta_and_yaml.py
@@ -112,7 +112,7 @@ for path_metadata_xxx_xml in [os.path.join(dir_metadata, name_metadata_xxx_xml)
info_for_yaml_dict['sample']['sample_id'] = accession_version
- info_for_yaml_dict['sample']['source_database_accession'] = accession_version
+ info_for_yaml_dict['sample']['source_database_accession'] = "http://identifiers.org/insdc/"+accession_version+"#sequence" #accession is turned into resolvable URL/URI now
# submitter info