def _save_reads_as_fastq(reads, file_name):
    ' Save reads from input to file named file_name. '
    file = open(file_name, 'w')
    for read in reads:
        file.write('@TEST\n')
        file.write((read + '\n'))
        file.write('+TEST\n')
        file.write((('I' * len(read)) + '\n'))
    file.close()
Save reads from input to file named file_name.
def _save_reads_as_fastq(reads, file_name):
    '  '
    file = open(file_name, 'w')
    for read in reads:
        file.write('@TEST\n')
        file.write((read + '\n'))
        file.write('+TEST\n')
        file.write((('I' * len(read)) + '\n'))
    file.close()