def _getarray(loci, snames):
<EOL>lxs = np.zeros((len(snames), len(loci)), dtype=np.uint64)<EOL>for loc in xrange(len(loci)):<EOL><INDENT>for seq in loci[loc].split("<STR_LIT:\n>"):<EOL><INDENT>if "<STR_LIT>" not in seq:<EOL><INDENT>lxs[snames.index(seq.split()[<NUM_LIT:0>][:]), loc] += <NUM_LIT:1><EOL><DEDENT><DEDENT><DEDENT>return lxs, snames<EOL>
parse loci list and return presence/absence matrix
ordered by the tips on the tree or list of names.