def make_fastq_single(in_fasta, quals, out_fp, label_transform=split_lib_transform):
 outfile = open(out_fp, 'w')
 for (rec, seq_id) in iter_fastq(in_fasta, quals, label_transform):
  outfile.write((rec + '\n'))
 outfile.close()

def make_fastq_single ( in_fasta , quals , out_fp , label_transform = split_lib_transform ) : outfile = open ( out_fp , 'w' ) for ( rec , seq_id ) in iter_fastq ( in_fasta , quals , label_transform ) : outfile . write ( ( rec + '\n' ) ) outfile . close ( )
makes a single fastq file with all the data .