<tt>diplo-locus</tt>: a lightweight toolkit for inference and simulation of time-series genetic data under general diploid selection
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.
Authors
- Matthias Steinrücken
- Xiaoheng Cheng (ORCID: https://orcid.org/0000-0003-4967-8907)
Institutions
- University of Chicago (US)
Publication Details
- Journal
- G3 Genes Genomes Genetics
- Published
- 2025-06-06
- DOI
- https://doi.org/10.1093/g3journal/jkaf123
- Primary Topic
- Evolution and Genetic Dynamics
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Institutes of Health
- National Institute of General Medical Sciences