Efficient ancestry and mutation simulation with msprime 1.0
- PMID: 34897427
- PMCID: PMC9176297
- DOI: 10.1093/genetics/iyab229
Efficient ancestry and mutation simulation with msprime 1.0
Abstract
Stochastic simulation is a key tool in population genetics, since the models involved are often analytically intractable and simulation is usually the only way of obtaining ground-truth data to evaluate inferences. Because of this, a large number of specialized simulation programs have been developed, each filling a particular niche, but with largely overlapping functionality and a substantial duplication of effort. Here, we introduce msprime version 1.0, which efficiently implements ancestry and mutation simulations based on the succinct tree sequence data structure and the tskit library. We summarize msprime's many features, and show that its performance is excellent, often many times faster and more memory efficient than specialized alternatives. These high-performance features have been thoroughly tested and validated, and built using a collaborative, open source development model, which reduces duplication of effort and promotes software quality via community engagement.
Keywords: Ancestral Recombination Graphs; coalescent; mutations; simulation.
© The Author(s) 2021. Published by Oxford University Press on behalf of Genetics Society of America.
Figures








Similar articles
-
Coalescent Simulation with msprime.Methods Mol Biol. 2020;2090:191-230. doi: 10.1007/978-1-0716-0199-0_9. Methods Mol Biol. 2020. PMID: 31975169
-
Efficient pedigree recording for fast population genetics simulation.PLoS Comput Biol. 2018 Nov 1;14(11):e1006581. doi: 10.1371/journal.pcbi.1006581. eCollection 2018 Nov. PLoS Comput Biol. 2018. PMID: 30383757 Free PMC article.
-
Population genetic simulation: Benchmarking frameworks for non-standard models of natural selection.Mol Ecol Resour. 2024 Apr;24(3):e13930. doi: 10.1111/1755-0998.13930. Epub 2024 Jan 21. Mol Ecol Resour. 2024. PMID: 38247258 Free PMC article.
-
An overview of population genetic data simulation.J Comput Biol. 2012 Jan;19(1):42-54. doi: 10.1089/cmb.2010.0188. Epub 2011 Dec 9. J Comput Biol. 2012. PMID: 22149682 Free PMC article. Review.
-
Computer simulations: tools for population and evolutionary genetics.Nat Rev Genet. 2012 Jan 10;13(2):110-22. doi: 10.1038/nrg3130. Nat Rev Genet. 2012. PMID: 22230817 Review.
Cited by
-
Robust inference of population size histories from genomic sequencing data.PLoS Comput Biol. 2022 Sep 16;18(9):e1010419. doi: 10.1371/journal.pcbi.1010419. eCollection 2022 Sep. PLoS Comput Biol. 2022. PMID: 36112715 Free PMC article.
-
Population Genomics of the Mostly Thelytokous Diplolepis rosae (Linnaeus, 1758) (Hymenoptera: Cynipidae) Reveals Population-specific Selection for Sex.Genome Biol Evol. 2023 Oct 6;15(10):evad185. doi: 10.1093/gbe/evad185. Genome Biol Evol. 2023. PMID: 37831420 Free PMC article.
-
Dispersal inference from population genetic variation using a convolutional neural network.Genetics. 2023 May 26;224(2):iyad068. doi: 10.1093/genetics/iyad068. Genetics. 2023. PMID: 37052957 Free PMC article.
-
Genome-wide relaxation of selection and the evolution of the island syndrome in Orkney voles.Genome Res. 2024 Jul 23;34(6):851-862. doi: 10.1101/gr.278487.123. Genome Res. 2024. PMID: 38955466 Free PMC article.
-
Accelerated Bayesian inference of population size history from recombining sequence data.bioRxiv [Preprint]. 2024 Mar 27:2024.03.25.586640. doi: 10.1101/2024.03.25.586640. bioRxiv. 2024. PMID: 38585997 Free PMC article. Preprint.