aboutsummaryrefslogtreecommitdiff
path: root/workflows/pull-data/genbank
diff options
context:
space:
mode:
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)