def extract_read_info(data, fname):
 (seq, qual) = get_read_data(data)
 (seqstring, qualstring) = format_as_fasta(data['name'], seq, qual)
 xmlstring = create_xml_for_unpaired_read(data, fname)
 return (seqstring, qualstring, xmlstring)

def extract_read_info ( data , fname ) : ( seq , qual ) = get_read_data ( data ) ( seqstring , qualstring ) = format_as_fasta ( data [ 'name' ] , seq , qual ) xmlstring = create_xml_for_unpaired_read ( data , fname ) return ( seqstring , qualstring , xmlstring )
given the data for one read it returns 3 strs with the fasta seq .