bioRxivEvolutionary Biology
Scaling the Discrete-time Wright Fisher model to biobank-scale datasets
Abstract
The Discrete-Time Wright Fisher (DTWF) model and its large population diffusion limit are central to population genetics. These models describe the forward-in-time evolution of the frequency of an allele in a population and can include the fundamental forces of genetic drift, mutation, and selection. Computing like-lihoods under the diffusion process is feasible, but the diffusion approximation breaks down for large sample sizes or in the presence of strong selection. Unfortunately, existing methods for computing likelihoods under the DTWF model do not scale to current exome sequencing sample sizes in the hundreds of thousands. Here we present an algorithm that approximates the DTWF model with provably bounded error and runs in time linear in the size of the population. Our approach relies on two key observations about Binomial distributions. The first is that Binomial distributions are approximately sparse. The second is that Binomial distributions with similar success probabilities are extremely close as distributions, allowing us to approximate the DTWF Markov transition matrix as a very low rank matrix. Together, these observations enable matrix-vector multiplication in linear (as opposed to the usual quadratic) time. We prove similar properties for Hypergeometric distributions, enabling fast computation of likelihoods for subsamples of the population. We show theoretically and in practice that this approximation is highly accurate and can scale to population sizes in the billions, paving the way for rigorous biobank-scale population genetic inference. Finally, we use our results to estimate how increasing sample sizes will improve the estimation of selection coefficients acting on loss-of-function variants. We find that increasing sample sizes beyond existing large exome sequencing cohorts will provide essentially no additional information except for genes with the most extreme fitness effects.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- An Approximate Markov Model for the Wright-Fisher Diffusion
Anna Ferrer-Admetlla, Christoph Leuenberger, … Daniel Wegmann·GeneticsPeer-reviewed·Jun 1, 2016
- Inference of selection from genetic time series using various parametric approximations to the Wright-Fisher model
Cyriel Paris, Bertrand Servin, Simon Boitard·G3 Genes Genomes GeneticsPeer-reviewed·Oct 9, 2019
- Inference under a Wright-Fisher model using an accurate beta approximation
Paula Tataru, Thomas Bataillon, Asger Hobolth·bioRxiv·Jun 19, 2015
- Transition densities and sample frequency spectra of diffusion processes with selection and variable population size
Daniel Zivkovic, Matthias Steinrücken, … Wolfgang Stephan·bioRxiv·Feb 2, 2015
- Moment-based approximations for the Wright-Fisher model of population dynamics under natural selection at two linked loci
Zhangyi He, Wenyang Lyu, … Feng Yu·bioRxiv·Jan 1, 2021
- WFABC: a Wright-Fisher ABC-based approach for inferring effective population sizes and selection coefficients from time-sampled data
Matthieu Foll, Hyunjin Shim, Jeffrey D. Jensen·Molecular Ecology ResourcesPeer-reviewed·Jun 11, 2014