Introducing and benchmarking the accuracy of cayenne: a Python package for stochastic simulations
preprint
OA: closed
Abstract
Biological systems are intrinsically noisy and this noise may determine the qualitative outcome of the system. In the absence of analytical solutions to mathematical models incorporating noise, stochastic simulation algorithms are useful to explore the possible trajectories of these systems. Algorithms used for such stochastic simulations include the Gillespie algorithm and its approximations. In this study we introduce cayenne, an easy to use Python package containing accurate and fast implementations of the Gillespie algorithm (direct method), the tau-leaping algorithm and a tau-adaptive algorithm. We compare the accuracy of cayenne with other stochastic simulation libraries (BioSimulator.jl, GillespieSSA and Tellurium) and find that cayenne offers the best trade-off between accuracy and speed. Additionally, we highlight the importance of performing accuracy tests for stochastic simulation libraries, and hope that it becomes standard practice when developing the same. The cayenne package can be found at https://github.com/Heuro-labs/cayenne while the bench-marks can be found at https://github.com/Heuro-labs/cayenne-benchmarks
My notes (saved in your browser only)
Citation neighborhood (no data yet)
We don't have any in-corpus citations linked to this paper yet. The paper's references may be in our DB but unresolved to ``paper_id`` (resolution happens at ingest when the cited DOI matches a row we already have). Run the cross-source citation reconcile pass to retry.
Source provenance
- europepmc
- last seen: 2026-05-19T01:45:01.086888+00:00