bioRxivSystems BiologyPreprint
Introducing and benchmarking the accuracy of cayenne: a Python package for stochastic simulations
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
- research focus: benchmarking
- research focus: software / tool
- approach: statistical model
- approach: benchmark study
- Citations
- 1
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
- A Portable Software Library that Implements the Gillespie Direct Method
Herbert M. Sauro·bioRxiv·Aug 29, 2017
- REDUCED-PRECISION STOCHASTIC SIMULATION FOR MATHEMATICAL BIOLOGY
Tom Kimpson, Mark B. Flegg, Jennifer A. Flegg·bioRxiv·May 6, 2026
- Accelerated Simulations of Chemical Reaction Systems using the Stochastic Simulation Algorithm on GPUs
James C. Pino, Martina Prugger, … Carlos F. Lopez·bioRxiv·Feb 14, 2020
- A note on stochastic modeling of biological systems: automatic generation of an optimized Gillespie algorithm
Quentin Vanhaelen·bioRxiv·Aug 27, 2018
- DelaySSAToolkit.jl: stochastic simulation of reaction systems with time delays in Julia
Xiaoming Fu, Xinyi Zhou, … Ramon Grima·BioinformaticsPeer-reviewed·Jul 7, 2022
- Efficient parameter calibration and real-time simulation of large scale spiking neural networks with GeNN and NEST
Felix Johannes Schmitt, Vahid Rostami, Martin Paul Nawrot·Frontiers in NeuroinformaticsPeer-reviewed·Feb 10, 2023