def parse_qual_scores(qual_files):
 qual_mappings = {}
 for qual_file in qual_files:
  qual_mappings.update(parse_qual_score(qual_file))
 return qual_mappings

def parse_qual_scores ( qual_files ) : qual_mappings = { } for qual_file in qual_files : qual_mappings . update ( parse_qual_score ( qual_file ) ) return qual_mappings
load qual scores into dict of {id:qual_scores} .