Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2010 Jan 6;5(1):e8125.
doi: 10.1371/journal.pone.0008125.

Reaction factoring and bipartite update graphs accelerate the Gillespie Algorithm for large-scale biochemical systems

Affiliations

Reaction factoring and bipartite update graphs accelerate the Gillespie Algorithm for large-scale biochemical systems

Sagar Indurkhya et al. PLoS One. .

Abstract

ODE simulations of chemical systems perform poorly when some of the species have extremely low concentrations. Stochastic simulation methods, which can handle this case, have been impractical for large systems due to computational complexity. We observe, however, that when modeling complex biological systems: (1) a small number of reactions tend to occur a disproportionately large percentage of the time, and (2) a small number of species tend to participate in a disproportionately large percentage of reactions. We exploit these properties in LOLCAT Method, a new implementation of the Gillespie Algorithm. First, factoring reaction propensities allows many propensities dependent on a single species to be updated in a single operation. Second, representing dependencies between reactions with a bipartite graph of reactions and species requires only storage for reactions, rather than the required for a graph that includes only reactions. Together, these improvements allow our implementation of LOLCAT Method to execute orders of magnitude faster than currently existing Gillespie Algorithm variants when simulating several yeast MAPK cascade models.

PubMed Disclaimer

Conflict of interest statement

Competing Interests: BBN Technologies is an independent research laboratory, and for this work, the only financial interest of BBN is the same as that of a university: publication will improve the chances of obtaining grants relating to the material. There are no patents relating to this manuscript. Jacob Beal is affiliated to BBN Technologies; this affiliation does not impede the data sharing policies of PLoS ONE.

Figures

Figure 1
Figure 1. Example of LOLCAT Method's data structure.
In practice, our implementation only creates subtrees for sets of reactions significantly larger than those shown in Cloud A's subtrees, for efficiency reasons. As a result, most clouds are like Cloud B and have no subtrees.
Figure 2
Figure 2. Cumulative distribution function (CDF) plots of reaction valence for all six models.
To compute the CDF we first computed the PDF of reaction valence, weighting each reaction valence by the reaction's average propensity over a pre-computed sample trajectory. We then computed the CDF from the PDF to increase visual salience of the sparsely distributed weights. A steep climb near a particular valence means a significant probability of a randomly chosen reaction having that approximate valence. This, in turn, often indicates the presence of a super-species that is involved in many reactions and benefits greatly from factoring.

Similar articles

Cited by

References

    1. Gillespie D. Exact stochastic simulation of coupled chemical reactions. Journal of Physical Chemistry. 1977;81:2309–2586.
    1. Cao Y, Li H, Petzold L. Efficient formulation of the stochastic simulation algorithm for chemically reacting systems. Journal of Physical Chemistry. 2004;121:4059–4067. - PubMed
    1. Gibson M, Bruck J. Efficient exact stochastic simulation of chemical systems with many species and many channels. Journal of Physical Chemistry A. 2000;104:1876–1889.
    1. Indurkhya S, Beal J. Code for lolcat method. 2009. MIT Dspace: http://hdl.handle.net/1721.1/46710.
    1. Gillespie D, Petzold L. Improved leap-size selection for accelerated stochastic simulation. Journal of Chemical Physics. 2003;119:8229–8234.

Publication types

MeSH terms

Substances

LinkOut - more resources