Matches snps to chromosomes and outputs allele frequencies