Statistical Prediction of HLA Alleles and Relatedness Analysis in Genome-Wide Association Studies