kalis: a modern implementation of the Li & Stephens model for local ancestry inference in R
摘要
Approximating the recent phylogeny of N phased haplotypes at a set of variants along the genome is a core problem in modern population genomics and central to performing genome-wide screens for association, selection, introgression, and other signals. The Li & Stephens (LS) model provides a simple yet powerful hidden Markov model for inferring the recent ancestry at a given variant, represented as an
We provide a high-performance engine to make these posterior decodings readily accessible with minimal pre-processing via an easy to use package kalis, in the statistical programming language
The resulting distance matrices accessible via kalis enable local ancestry, selection, and association studies in modern large scale genomic datasets.