def get_read_data(data):
 if config['mix_case']:
  seq = sequence_case(data)
  qual = data['quality_scores']
 else:
  seq = data['bases']
  qual = data['quality_scores']
 return (seq, qual)

def get_read_data ( data ) : if config [ 'mix_case' ] : seq = sequence_case ( data ) qual = data [ 'quality_scores' ] else : seq = data [ 'bases' ] qual = data [ 'quality_scores' ] return ( seq , qual )
given the data for one read it returns 2 strs with the fasta seq and fasta qual .