def map_to_precursor_biopython(seqs, names, loci, args):
precursor = precursor_sequence(loci, args.ref).upper()<EOL>dat = dict()<EOL>for s, n in itertools.izip(seqs, names):<EOL><INDENT>res = _align(str(s), precursor)<EOL>if res:<EOL><INDENT>dat[n] = res<EOL><DEDENT><DEDENT>logger.debug("<STR_LIT>" % (loci, len(dat), len(seqs)))<EOL>return dat<EOL>
map the sequences using biopython package