Haplotype-based prediction of gene alleles using pedigrees and SNP genotypes