aboutsummaryrefslogtreecommitdiff
path: root/workflows/pull-data/genbank
diff options
context:
space:
mode:
authorPjotr Prins2020-12-31 10:21:58 +0000
committerPjotr Prins2020-12-31 10:21:58 +0000
commit63b75e9cf095737fa8d700d1fd1e4d90e17999f5 (patch)
treec830861d4d82aae668587f718044df66595ea732 /workflows/pull-data/genbank
parent6ea6362a7bf2a49b96ee3a7289c1f5d08979822f (diff)
downloadbh20-seq-resource-63b75e9cf095737fa8d700d1fd1e4d90e17999f5.tar.gz
bh20-seq-resource-63b75e9cf095737fa8d700d1fd1e4d90e17999f5.tar.lz
bh20-seq-resource-63b75e9cf095737fa8d700d1fd1e4d90e17999f5.zip
genbank: header
Diffstat (limited to 'workflows/pull-data/genbank')
-rwxr-xr-x[-rw-r--r--]workflows/pull-data/genbank/transform_genbank2yamlfa.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/workflows/pull-data/genbank/transform_genbank2yamlfa.py b/workflows/pull-data/genbank/transform_genbank2yamlfa.py
index 025b4d9..8b970b6 100644..100755
--- a/workflows/pull-data/genbank/transform_genbank2yamlfa.py
+++ b/workflows/pull-data/genbank/transform_genbank2yamlfa.py
@@ -1,9 +1,12 @@
+#!/usr/bin/env python3
+#
+# Create a single YAML/FASTA from genbank XML
+
# ----------------------------------------------------------------------
"""
Generate metadata (YAML) and FASTA files for each accession
"""
-
if not os.path.exists(dir_fasta_and_yaml):
os.makedirs(dir_fasta_and_yaml)