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 d0df1d1 commit 19c7859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sircel/utils/IO_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ 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):
qual = (lines[2].decode('utf-8'))[0]
qual = (lines[2].decode('utf-8'))[0] + '\n'
lines = b''.join([lines[0], lines[1], qual.encode('utf-8'), lines[3]])
out_file.write(lines)
return out_file.name
Expand Down

0 comments on commit 19c7859

Please sign in to comment.