evosim: fast and scalable stochastic simulations of evolutionary dynamics
Engelhardt, D.; McDonald, T. O.
Show 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.
Matching journals
The top 3 journals account for 50% of the predicted probability mass.
Similar papers in this journal
Similar papers in this journal
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.