Simulating population pangenomes under coalescent demographic models with MSpangenome
Lucien PiatiD, Sukanya Denni, Siegfried DuboisiD, Benjamin LinardiD, Ludovic DuvauxiD
Abstract
MotivationPangenome variation graphs (PVGs) are increasingly used to represent genomic diversity, yet there is currently no general framework for generating population pangenomes directly from explicit evolutionary histories. Existing simulators typically focus on individual classes of variation and do not integrate these variations within a genealogy-aware framework driven by explicit demographic histories. As a result, evaluating pangenome methods in realistic population-genetic settings remains challenging, and benchmark datasets with known evolutionary ground truth are scarce. ResultsWe present MSpangenome, a genealogy-aware framework that bridges coalescent population genetic simulations and pangenome graph analyses. The pipeline combines ancestry simulation with msprime and a de novo graph construction algorithm to generate PVGs directly from simulated genealogies. By explicitly modeling recombination, demographic history and incomplete lineage sorting, MSpangenome produces structurally complex pangenomes in which nested and overlapping structural variants emerge naturally from the underlying genealogies, while their evolutionary history and graph topology remain known by construction. This provides a general framework for generating realistic population pangenomes and establishing ground-truth datasets for methodological evaluation. We demonstrate its utility by generating population-scale pangenomes and using them as controlled references to benchmark the widely used graph construction tools, PGGB and Minigraph-Cactus. Our analyses reveal contrasting performance regimes across levels of sequence diversity, sample sizes and classes of structural variation, highlighting the value of simulation-based benchmarking for identifying reconstruction errors that are hard to detect using empirical datasets alone. Availability and implementationMSpangenome is implemented in Python, fully containerized, freely available at https://forge.inrae.fr/pangepop/MSpangepop and mirrored at https://github.com/inrae/MSpangepop.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 1
- Research Focus
- Approach
Reproducibility 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
- Building pangenome graphs
Erik P. Garrison, Andrea Guarracino, … Pjotr Prins·Nature MethodsPeer-reviewed·Oct 21, 2024
- Quantifying the Rearrangement Complexity of Pangenomes
Leonard Bohnenkämper, Jens Stoye·Lecture notes in computer sciencePeer-reviewed·Jan 1, 2026
- Construction and representation of human pangenome graphs
Francesco Andreace, Pierre Lechat, … Rayan Chikhi·bioRxiv·Jun 2, 2023
- Investigating the topological motifs of inversions in pangenome graphs
Sandra J. Romain, Siegfried Dubois, … Claire Lemaitre·bioRxiv·Mar 14, 2025
- The Practical Haplotype Graph, a platform for storing and using pangenomes for imputation
Peter J. Bradbury, Terry M. Casstevens, … Edward S. Buckler·BioinformaticsPeer-reviewed·Jun 24, 2022
- SaVanache: indexing and visualizing pangenome variation graphs
Mourdas Mohamed, Éloi Durant, … François Sabot·bioRxiv·Oct 1, 2026