diff options
author | Pjotr Prins | 2021-01-08 01:12:49 -0600 |
---|---|---|
committer | Pjotr Prins | 2021-01-08 01:12:49 -0600 |
commit | 97a820f250063d223007d3d8fea5901a1bfac77d (patch) | |
tree | cb3cd41d267b238188c5b410c5926535b39535d1 /workflows | |
parent | c080c3cffedcc0cc99496b5e70fcfdf998978f16 (diff) | |
download | bh20-seq-resource-97a820f250063d223007d3d8fea5901a1bfac77d.tar.gz bh20-seq-resource-97a820f250063d223007d3d8fea5901a1bfac77d.tar.lz bh20-seq-resource-97a820f250063d223007d3d8fea5901a1bfac77d.zip |
FASTA file should not have leading space
Diffstat (limited to 'workflows')
-rwxr-xr-x | workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py | 2 |
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 1a8035d..cdd8d2b 100755 --- a/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py +++ b/workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py @@ -60,7 +60,7 @@ for xmlfn in args.files: seq = genbank.get_sequence(id,gb) print(f" writing {fa}") with open(fa,"w") as f2: - f2.write(f"> {id}\n") + f2.write(f">{id}\n") f2.write(seq) # print(seq) except genbank.GBError as e: |