In Silico Haplotyping, Genotyping and Analysis of Resequencing Data using Markov Models.