Skip to content

Commit f9769bc

Browse files
author
Aditya Ambati
authored
changed gz argument
1 parent c951b0a commit f9769bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FASTQ_to_FASTA.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def main(fastq, fasta, gz):
1717
line_n =0
1818
line_buffer = 0
1919
line_id = 1
20-
if gz: ### if gz argument is provided it will write out a gz file else normal
20+
if gz == '1': ### if gz argument is provided it will write out a gz file else normal
2121
outfile = gzip.open(fasta+'.gz', 'w')
2222
else:
2323
outfile = open(fasta, 'w')

0 commit comments

Comments
 (0)