Scoring haplotypes and haplotype pairs.