From 97a820f250063d223007d3d8fea5901a1bfac77d Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 8 Jan 2021 01:12:49 -0600 Subject: FASTA file should not have leading space --- workflows/pull-data/genbank/transform-genbank-xml2yamlfa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3