diplo-locus: a lightweight toolkit for inference and simulation of time-series genetic data under general diploid selection
Open Access
- 6 June 2025
- journal article
- Published by Oxford University Press (OUP) in G3: Genes, Genomes, Genetics
- Vol. 15 (8)
Abstract
Whole-genome time-series allele frequency data are becoming more prevalent as ancient DNA sequences and data from evolve-and-resequence experiments are generated at a rapid pace. Such data present unprecedented opportunities to elucidate the dynamics of genetic variation under selection. However, despite many methods to infer parameters of selection models from allele frequency trajectories available in the literature, few provide user-friendly implementations for large-scale empirical applications. Here, we present diplo-locus, an open-source Python package that provides functionality to simulate and perform inference from time-series data under the Wright–Fisher diffusion with general diploid selection. The package includes Python modules as well as command-line tools and is available at: https://github.com/steinrue/diplo_locus.Keywords
Funding Information
- University of Chicago
- Leakey Foundation Research
- National Institute of General Medical Sciences
- National Institutes of Health (R01GM146051)
This publication has 19 references indexed in Scilit:
- The Allen Ancient DNA Resource (AADR) a curated compendium of ancient human genomesScientific Data, 2024
- Timesweeper: accurately identifying selective sweeps using population genomic time seriesGenetics, 2023
- SLiM 4: Multispecies Eco-Evolutionary ModelingThe American Naturalist, 2023
- Array programming with NumPyNature, 2020
- Quantifying Selection with Pool-Seq Time Series DataMolecular Biology and Evolution, 2017
- SpectralTDF: transition densities of diffusion processes with time-varying selection parameters, mutation rates and effective population sizesBioinformatics, 2015
- Evolutionary Genomics and Conservation of the Endangered Przewalski’s HorseCurrent Biology, 2015
- Anxious individuals have difficulty learning the causal statistics of aversive environmentsNature Neuroscience, 2015
- An upstream polymorphism associated with lactase persistence has increased enhancer activityGastroenterology, 2003
- Asymptotic Properties of Maximum Likelihood Estimators and Likelihood Ratio Tests under Nonstandard ConditionsJournal of the American Statistical Association, 1987