Gravar-mail: SNPest: a probabilistic graphical model for estimating genotypes