<|file_name|>fastq_to_fasta.py<|end_file_name|><｜fim▁begin｜>import os
import sys
from Bio import SeqIO

f = open(sys.argv[1], 'rU')
out = open(sys.argv[2], 'w')
for records in SeqIO.parse(f, 'fastq'):<｜fim▁hole｜><｜fim▁end｜>
	SeqIO.write(records, out, 'fasta')