Commit dcc90728 authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

One more FASTA parsing fix...

parent 094e338f
......@@ -82,7 +82,7 @@ def main(args):
lines = [
l.replace('\n', '')
for l in prot.strip().split('\n', 1) for prot in data.split(">")
for prot in data.split('>') for l in prot.strip().split('\n', 1)
]
tags, seqs = lines[::2], lines[1::2]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment