diff options
author | Pjotr Prins | 2020-12-31 10:21:58 +0000 |
---|---|---|
committer | Pjotr Prins | 2020-12-31 10:21:58 +0000 |
commit | 63b75e9cf095737fa8d700d1fd1e4d90e17999f5 (patch) | |
tree | c830861d4d82aae668587f718044df66595ea732 /workflows/pull-data/genbank | |
parent | 6ea6362a7bf2a49b96ee3a7289c1f5d08979822f (diff) | |
download | bh20-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.py | 5 |
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) |