Quickstart

Quickstart#

Create a tsls.Hmm from a tskit tree sequence. Supply one allele index per site in the query haplotype, using tsls.MISSING_DATA for missing observations. tsls.Hmm.viterbi() returns the copying path as segments in right-to-left order.