Skip to content

Commit

Permalink
Update IO_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
axtambe authored Apr 17, 2018
1 parent d404961 commit 9247276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sircel/utils/IO_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def unzip(gzipped_lst):
raise TypeError('File does not appear to be gzipped: %s' % gzipped)
with gz.open(gzipped) as in_file:
for lines in grouper(in_file, 4):
lines[2] = lines[2][0]
lines = b''.join(lines)
qual = lines[2][0]
lines = b''.join([lines[0], lines[1], qual, lines[3])
out_file.write(lines)
return out_file.name

Expand Down

0 comments on commit 9247276

Please sign in to comment.