SelNeTime: a python package inferring effective population size and selection intensity from genomic time series data
Preprint
Abstract
Summary: 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.Keywords
All Related Versions
- Published version: Peer Community Journal, 6.
Funding Information
- Occitanie Regional Council’s program ‘Key challenge BiodivOc’
- France 2030 programme, PEPR Agroécologie et Numérique (ANR-22-PEAE-0005)
- INRAE ECODIV department
This publication has 17 references indexed in Scilit:
- The contribution of gene flow, selection, and genetic drift to five thousand years of human allele frequency changeProceedings of the National Academy of Sciences, 2024
- Whole-genome sequencing of cryopreserved resources from French Large White pigs at two distinct sampling times reveals strong signatures of convergent and divergent selection between the dam and sire linesGenetics Selection Evolution, 2023
- Array programming with NumPyNature, 2020
- Inference of Selection from Genetic Time Series Using Various Parametric Approximations to the Wright-Fisher ModelG3: Genes, Genomes, Genetics, 2019
- Tracking Five Millennia of Horse Management with Extensive Ancient Genome Time SeriesCell, 2019
- Elucidating the molecular architecture of adaptation via evolve and resequence experimentsNature Reviews Genetics, 2015
- Inference Under a Wright-Fisher Model Using an Accurate Beta ApproximationGenetics, 2015
- Estimating Effective Population Size from Temporally Spaced Samples with a Novel, Efficient Maximum-Likelihood AlgorithmGenetics, 2015
- Estimation of 2Nes From Temporal Allele Frequency DataGenetics, 2008
- The Effect of Selection on Genetic VariabilityThe American Naturalist, 1971