SelNeTime: a python package inferring effective population size and selection intensity from genomic time series data
Mathieu UhliD, Paul Bunel, Miguel NavascuésiD, Simon BoitardiD, Bertrand ServiniD
Abstract
Genomic samples collected from a single population over several generations provide direct access to the genetic diversity changes occurring within a specific time period. This provides information about both demographic and adaptive processes acting on the population during that period. A common approach to analyze such data is to model observed allele counts in finite samples using a Hidden Markov Model (HMM) where hidden states are true allele frequencies over time (i.e. a trajectory). The HMM framework allows one to compute the full likelihood of the data, while accounting both for the stochastic evolution of population allele frequencies along time and for the noise arising from sampling a limited number of individuals at possibly spread out generations. Several such HMM methods have been proposed so far, differing mainly in the way they model the transition probabilities of the Markov chain. Following Paris et al. (2019a), we consider here the Beta with Spikes approximation, which avoids the computational issues associated to the Wright-Fisher model while still including fixation probabilities, in contrast to other standard approximations of this model like the Gaussian or Beta distributions. To facilitate the analysis and exploitation of genomic time series data, we present an improved version of Paris et al. (2019a) s approach, denoted SelNeTime, whose computation time is drastically reduced and which accurately estimates effective population size (assuming no selection) or the selection intensity at each locus (given a previously estimated value of N). We also evaluate the performance of this method in realistic situations where selection is present and both demography and selection need to be inferred. SelNeTime is implemented in a user friendly python package, which can also easily simulate genomic time series data under a user-defined evolutionary model and sampling design.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility 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
- 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
- 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
- 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
- Bayesian inference of natural selection from allele frequency time series
Joshua Schraiber, Steven N. Evans, Montgomery Slatkin·bioRxiv·Mar 4, 2016
- Timesweeper: Accurately Identifying Selective Sweeps Using Population Genomic Time Series
L. S. Whitehouse, D. R. Schrider·bioRxiv·Jul 6, 2022
- Maximum likelihood estimation of natural selection and allele age from time series data of allele frequencies
Zhangyi He, Xiaoyang Dai, … Feng Yu·GeneticsPeer-reviewed·Aug 7, 2020