Skip to content

Commit

Permalink
Changed name record to r in subset_seqs
Browse files Browse the repository at this point in the history
  • Loading branch information
wilke committed Feb 20, 2019
1 parent 1844de8 commit 82fe9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/seqUtil
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def subset_seqs(fasta_input, list, output, check, minimum):
output_handle = open(output, "w")
current = list_handle.readline()[:-1]
for r in SeqIO.parse(fasta_handle, "fasta"):
if len(record.seq) < minimum:
if len(r.seq) < minimum:
continue
if check:
if cmp(r.id, current) == 0:
Expand Down

0 comments on commit 82fe9b4

Please sign in to comment.