aboutsummaryrefslogtreecommitdiff
path: root/workflows/pull-data/genbank
diff options
context:
space:
mode:
Diffstat (limited to 'workflows/pull-data/genbank')
-rwxr-xr-xworkflows/pull-data/genbank/transform-genbank-xml2yamlfa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py b/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py
index cdd8d2b..1f7a428 100755
--- a/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py
+++ b/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py
@@ -44,7 +44,7 @@ for xmlfn in args.files:
valid = None
error = None
meta = {}
- id = gb.find("GBSeq_locus").text
+ id = gb.find("GBSeq_accession-version").text
basename = dir+"/"+id
print(f" parsing {id}")
try: