ngsfilter: fixed parsing error

This commit is contained in:
Celine Mercier
2019-03-31 15:42:30 +02:00
parent a3e6b7d913
commit 80068a3c19

View File

@ -54,7 +54,7 @@ def ngsfilterIterator(lineiterator,
new_lines.append(header) new_lines.append(header)
for line in all_lines: for line in all_lines:
split_line = line.split(sep) split_line = line.split()
tags = split_line.pop(2) tags = split_line.pop(2)
tags = tags.split(b":") tags = tags.split(b":")
if len(tags) == 1: # Forward and reverse tags are the same if len(tags) == 1: # Forward and reverse tags are the same