bioRxivEvolutionary BiologyPreprint
evosim: fast and scalable stochastic simulations of evolutionary dynamics
Abstract
The simulation of clonal dynamics with branching processes can provide valuable insights into disease progression and treatment optimization, but exact simulation of branching processes via the Stochastic Simulation Algorithm (SSA) is computationally prohibitive at the large population sizes associated with therapeutically-relevant scenarios. evosim is a versatile and flexible Python implementation of a fast and unbiased tau-leaping algorithm for the simulation of birth-death-mutation branching processes that is scalable to any population size. Package functionalities support the incorporation and tracking of a sequence of evolutionary changes such as therapeutic interventions as well as the analysis of population diversity. We show that runtimes scale logarithmically with population size, by contrast to the linear scaling of the SSA, and simulations exhibit strong agreement with SSA simulation results. These findings are also supported by mathematical results (Supplementary information). AvailabilityPackage, documentation, and tutorials / usage examples are available on GitHub (https://github.com/daliten/evosim). Mathematical details of the algorithm and the pseudocode are provided in the included Supplementary information.
- research focus: benchmarking
- research focus: software / tool
- approach: deep learning
- approach: statistical model
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
- SANTA-SIM: Simulating Viral Sequence Evolution Dynamics Under Selection and Recombination
Abbas Jariani, Christopher Warth, … Kristof Theys·Virus EvolutionPeer-reviewed·Jan 1, 2019
- phastSim: efficient simulation of sequence evolution for pandemic-scale datasets
Nicola De Maio, William Boulton, … Nick Goldman·PLoS Computational BiologyPeer-reviewed·Apr 29, 2022
- Deterministic approximation for population dynamics in the presence of advantageous mutants
I. Rodriguez-Brenes, D. Wodarz, N. Komarova·bioRxiv·Jan 4, 2022
- Accelerated simulation of evolutionary trajectories in origin-fixation models
A. I. Teufel, C. O. Wilke·bioRxiv·Nov 14, 2016
- OncoSimulR: genetic simulation of cancer progression with arbitrary epistasis and mutator genes
Ramon Diaz-Uriarte·bioRxiv·Aug 14, 2016
- Efficient ancestry and mutation simulation with msprime 1.0
Franz Baumdicker, Gertjan Bisschop, … Jerome Kelleher·GeneticsPeer-reviewed·Dec 13, 2021