def _fastq_solexa_convert_qual(in_handle, out_handle, alphabet=None):
 from Bio.SeqIO.QualityIO import phred_quality_from_solexa
 mapping = dict(((chr((q + 64)), str(int(round(phred_quality_from_solexa(q))))) for q in range((-5), (62 + 1))))
 return _fastq_convert_qual(in_handle, out_handle, mapping)

def _fastq_solexa_convert_qual ( in_handle , out_handle , alphabet = None ) : from Bio . SeqIO . QualityIO import phred_quality_from_solexa mapping = dict ( ( ( chr ( ( q + 64 ) ) , str ( int ( round ( phred_quality_from_solexa ( q ) ) ) ) ) for q in range ( ( - 5 ) , ( 62 + 1 ) ) ) ) return _fastq_convert_qual ( in_handle , out_handle , mapping )
fast solexa fastq to qual conversion .