We present a hidden Markov model (HMM) for inferring gradual isolation between two populations during speciation. modelled as a time interval with restricted gene flow. The HMM describes the history of adjacent nucleotides in two genomic sequences. such that the nucleotides can be separated by recombination. https://www.knowall.blog/