Simulating Apoptosis Using Discrete Methods: a Membrane System and a Stochastic Approach John Jack,1Francisco J. Romero-Campero,2Mario J. P´erez-Jim´enez,2 Oscar H. Ibarra3and Andrei P˘aun1,4† 1Department of Computer Science/IfM, Louisiana Tech University, P.O. Box 10348, Ruston, LA 71272, USA {johnjack, apaun}@latech.edu 2Department of Computer Science and Artificial Intelligence, University of Sevilla, Avda. Reina Mercedes s/n 41012, Sevilla, Spain {fran, marper}@us.es 3Department of Computer Science, University of California - Santa Barbara, Santa Barbara, CA 93106, USA
[email protected] 4Universidad Polit´ecnica de Madrid - UPM, Facultad de Inform´atica Campus de Montegancedo S/N, Boadilla del Monte, 28660 Madrid, Spain Abstract. Membrane Systems provide an intriguing method for modeling biological systems at a molecular level. The hierarchical structure of Membrane Systems lends itself readily to mimic the nature and behavior of cells. We have refined a technique for modeling the type I and type II FAS-induced apoptosis signalling cascade. Improvements over our previous modeling work on apoptosis include increased efficiency for storing and sorting waiting times of reactions, a nondeterministic approach for handling reactions competing over limited reactants and improvements, and refinements of the model reactions. The modular nature of our systems provides flexibility with respect to future discoveries on the signal cascade. We provide a breakdown of our algorithms and explanations on improvements we have implemented. We also give an exhaustive comparison to an established ordinary differential equations technique. Based on the results of our simulations, we conclude that Membrane Systems are a useful simulation tool in Systems Biology that could provide new insight into the subcellular processes, and provide also the argument that Membrane Systems may outperform ordinary differential equation simulations when simulating cascades of reactions (as they are observed in cells). 1 Introduction Many diseases and disorders are linked to the anomalous behavior of the apoptotic pathway within an organism. Specifically, understanding of FAS-induced apoptosis should be useful in combating cancers and HIV as pointed out in [10] and [11]. As new information is discovered on the stoichiometry and biochemical interactions involved in this pathway, scientists look to the computer simulations as a tool for understanding and predicting the effects of changes in molecules important to the pathway. In this paper, we describe two techniques based on discrete methods for modeling molecular signaling cascades within a cell. While the two discrete simulation strategies can be applied to any pathway in the cell, we implemented the new simulation techniques and chose to provide the simulation results for the caspase dependent apoptotic pathway. We provide the algorithms for our two refined approaches, a Nondeterministic Waiting Time algorithm and a Multi-compartmental †To whom correspondence should be addressed. E-mail:
[email protected] Language Theory in Biocomputing 50 UC'07 - Kingston, Canada
Gillespie algorithm. As mentioned above, we have tested our methods on the FAS- induced apoptotic signal cascade and offer comparisons with a modeling technique based on ordinary differential equations as was used for the apoptotic pathway in [8]. The Nondeterministic Waiting Time (NWT) algorithm is a modified version of our Membrane System described in [2]. We provide two major improvements over our previous algorithm. First, we have added a nondeterministic logic to handle reactions competing over limited reactants. And second, we improved the runtime of the simulation algorithm by implementing a heap as a data structure used for the ordering of the reactions. We argue that our nondeterministic, discrete approach has an advantage over methods based on ordinary differential equations, such as the ODE method found in [8]. Ordinary differential equations are an appropriate modeling technique when one seeks the average behavior of a system involving large numbers of elements – for example, modeling the dynamics of large cell populations. However, when modeling signal cascades within a single cell, we believe that differential equations may not be the best approach. We feel that a discrete method is better equipped to simulate processes that involve relatively low numbers of molecules/objects. For example, assume that two reactions are competing over a single molecule. A differential equations technique allows both reactions to be applied, borrowing a fraction of the molecule to satisfy each equation. However, our discrete method maintains molecular integrity. In other words we do not allow a single molecule to be partially used in two reactions. The molecule is used for one reaction or the other. Our nondeterministic logic can affect the entire evolution of the system, changing the results of the signaling cascade in a way ODEs do not. The second improvement over [2] is the use of a min-heap to store reactions. Initially, we create the min-heap in the standard (bottom-up) way. However, during the simulation our heap obeys two properties, which has led us to develop a nonstandard approach to maintaining the min-heap property. The properties are the following: (i) once intialized, the heap does not grow or shrink; (ii) multiple nodes throughout the heap will be updated simultaneously. In [3] the authors provide a nonstandard method for updating a min-heap. However, the min-heap they maintain does not obey (ii), so we have developed our own special maintenance functions. We provide a full description of our heap maintenance functions in a later section. In this paper we demonstrate the design of our Nondeterministic Waiting Time algorithm, as well as our results from simulating the FAS-induced apoptotic signaling cascade. Section 2 provides a full description of our algorithm and pseudocode for our heap maintenance functions. Section 3 presents results from our simulation of the FAS-induced apoptotic pathway, along with comparisons to an established ordinary differential equations method and some experimental data. Section 4 describes a stochastic method, based on the ideas of the well-known Gillespie Algorithm. Section 5 is a discussion section providing ideas for future work. Language Theory in Biocomputing 51 UC'07 - Kingston, Canada
We note that we will use the words rule and reaction interchangeably throughout this paper. In the context of Membrane Systems, we have rules associated to symbols, and in the context of cells we have reactions associated with proteins/molecules. 2 Membrane System For Simulating Signal Cascade In the following we will give a brief description of the simulation technique proposed and then we will provide the actual algorithm with a discussion on its main ideas and an example for better understanding. 2.1 Explanation of Discrete Method Our Membrane System follows the evolution of molecular multiplicities over time. We simulate individual chemical reactions which are asynchronous and occur discretely over different lengths of time. The rules of the our system obey the Law of Mass Action: the reaction rate depends proportionally on the concentrations of the reactants. Every reaction rhas an associated reaction rate constant kr. For each reaction rwe pre-compute a kinetic constant, constr:constr=kr Vi−1×Ni−1where Vis the volume of the system, Nis Avogadro’s constant (6.0221415 ×1023) and iis the number of reactants involved in the reaction. Consider a general second order reaction, r1:A+B→C. We compute the amount of time required for a single application of the reaction: wtr1=1 constr1∗|A|∗|B|where |A|and |B|represent the number of molecules of the two reactants. Or, consider a first order reaction, r2:D→E. A single application of of the reaction is computed: wtr2=1 constr2∗|D|. We refer to this as the calculation of the ’Waiting Time’ (WT) of a reaction. 2.2 Nondeterministic Waiting Time Algorithm We now provide the pseudocode of our algorithm: 1. Initialization: Calculate the waiting time for every reaction in the system, and label it ’WT’ (time required for reaction to occur). Store the reactions in a minheap (sorted by ’WT’). Set simulation time to zero (t= 0). 2. Select Rule: Select the reaction with the lowest waiting time. If there is a tie, go to step 3. If not, proceed to step 4. 3. Handle Tie: If there are enough reactants to satisfy all reactions in the tie, implement all reactions in step 4. If there are not enough reactants to accommodate all the reactions, use the nondeterministic logic to apply as many rules as possible. 4. Apply Rule: Update the multiplicities of the reactants and products involved in the reaction(s) from step 2. Aggregate the simulation time (t=t+WT). 5. Update Rules: Recalculate the waiting time for any reactions involving the reactants or products of the applied reaction(s). For each such reaction compare the new waiting time with the existing waiting time and keep the smallest of the two. 6. Heap Maintenance: Adjust the min-heap. Language Theory in Biocomputing 52 UC'07 - Kingston, Canada
7. Check Done: If the desired simulation time has not been reached, go back to step 2. We initially build our min-heap using the standard bottom-up technique. Once the top node of the heap has been selected (Step 2), applied (Step 4) and had its waiting time recalculated (Step 5), we leave it at the top of the tree. Often an applied reaction’s new waiting time is close to its previous WT. Therefore, the node will most likely be located near the top of the heap once the heap is resorted. After recalculating the waiting time of all reactions involving reactants or products of the applied rule (Step 5), we are ready to reestablish our min-heap (Step 6). Next, we provide our special methods for heap maintenance: 1: Reheap() 2: for each applied reaction (more than one if tie exists) 3: for each product of the applied reaction 4: for each reaction the product is a reactant of 5: CheckUp(reaction); 6: for each reactant of the applied reaction 7: for each reaction the reactant is a reactant of 8: CheckDown(reaction) 1: CheckUp(node r) 2: If parent(r) exists 3: If parent(r) >r 4: Swap(r, parent(r)) 5: while parent(r) >children(parent(r)) 6: Swap(parent(r), children(parent(r))) 7: CheckUp(r) 1: CheckDown(node r) 2: If children(r) exist(s) 3: If r >children(r) 4: Swap(smallestchild(r), r) 5: while parent(smallestchild(r)) >smallestchild(r)) 6: Swap(parent(smallestchild(r)), smallestchild(r)) 7: CheckDown(r) Let us consider an applied rule of the form: A+B→C+D. When the rule is applied the system loses a molecule of A and one of B, and it also gains a molecule of C and one of D. Therefore, any reaction that has A, B, C, or D as a reactant requires a recalculation of its waiting time. After recalculation, the Reheap method is called, and the position of every reaction with a recalculated waiting time is checked. Since ties are usually infrequent, the for loop on line 2 of the Reheap method runs for very few iterations. Also, most reactions have at most two products and at most two reactants. Hence, the for loops on line 3 and 4 combine for a total of at most four iterations. Our CheckUp and CheckDown methods differ from previous nonstandard heap maintenance [3]. Since we update multiple nodes in our heap simultaneously, we can have many nodes in violation of the min-heap property. We refer to Fig. 1 for an Language Theory in Biocomputing 53 UC'07 - Kingston, Canada
example of our heap maintenance. In Fig. 1 we see three nodes in a heap of arbitrary size. Fig. 1(I) shows a clear violation of the min-heap property. Assume that the yellow and blue nodes have both just been recalculated (and their waiting time decreased), and also assume that green has not been recalculated. Our algorithm does not waste any clock cycles sorting the reactions with changed waiting times, so we can assume that CheckUp is first called on the blue node. Blue is compared with its parent (yellow), and since yellow has a smaller WT than blue, no changes to the heap are made and the CheckUp method for blue terminates. Fig. 1. (I) The waiting times for yellow and blue are recalculated, and the heap is now unsorted. (II) The method CheckUp is called for blue, but the node does not move up, since yellow has a smaller WT. (III) The method CheckUp is called for yellow. Yellow switches places with green. Before yellow checks up again, green must attempt to move down. (IV) The green node and swaps with the blue node, which satisfies the min-heap property. Green will move down as far as it can. Afterwards, CheckUp is called on the yellow node, and the process repeats until the heap is resorted. Next, CheckUp is called for the yellow node. Yellow and green are compared, and because they violate the min-heap property, the two nodes are swapped. Since yellow and green have swapped places, the green node must be moved down the tree as far as possible in accordance with the min-heap property. Green and its children (one of which is blue) are compared, and since there is a violation of the min-heap property, green is swapped with its smallest child (assumed to be blue, but it could be the other child). Green is moved down as far as necessary, bringing up the ’tail’ of yellow. Once green is in a position that does not violate the min-heap property, CheckUp is called again for yellow (line 7 of CheckUp method), and the process is repeated until yellow fails to move up. Once CheckUp and CheckDown have been called for all reactions with recalculated waiting times, the heap will be sorted. The implementation of our heap yielded a massive performance increase over the previous algorithm from [2]. With the algorithm described in [2] we were able to complete the FAS-induced simulation (∼8 cell simulated hours) in 30-40 minutes de- Language Theory in Biocomputing 54 UC'07 - Kingston, Canada
pending on the particular rule set and molecular multiplicities. Our new algorithm, utilizing the efficient heap structure, takes 3-4 minutes to run the same simulations. While incorporating the heap structure we not only increased the sorting performance, we were able to eliminate an extraneous for loop used to put waiting times in the context of simulation times (a loop for every reaction for each applied rule). Our previous simulator had a runtime of O(n2log n). To be able to give the complexity of the algorithm proposed and show that in this specific case is efficient, we need to make several assumptions which are (usually) valid for the signalling cascades: a) each reaction involves at most 5 different species of molecules b) there are a bounded number of reactions having the same reactant (usually 3, at most 5) c) there are not many reactions happening at the same time (due to the differences in molecule multiplicities and reaction rates). From a), b) and c) we can now show that our new implementation has a runtime of O(nlog n) with respect to the number of reactions simulated. Next, we will describe the use of our technique in modeling the FAS-mediated signaling cascade. 3 FAS-induced apoptosis We have chosen to simulate FAS-induced apoptosis because it has one of the most detailed descriptions/characterization in the literature (due in large part to its role in cancer and HIV research). In the interest of comparing our Membrane System with an established ordinary differential equations (ODE) technique, we have implemented 101 different rules working on 53 distinct proteins and protein complexes. The pathway begins with the stimulation of FASL and ends with the activation of the effector Caspase-3. Fei Hua et al., in [8], provide the results of an ODE simulation, as well as some experimental data (from the Jurkat cell line), which they used to fit their model. Fig. 2. On the right is the Membrane System and on the left is the ODE simulation (used with permission [8]). The two graphs show the decline over time of full length Caspase-3, which means there is an increase in active Caspase-3. In both simulators, we see that Caspase-3 nears zero after four hours for the baseline Bcl-2 concentration. However, apoptosis is inhibited as Bcl-2 levels are increased by 10- or 100-fold. Language Theory in Biocomputing 55 UC'07 - Kingston, Canada
3.1 Results of Discrete Method Similar to [8], we ran our simulation with three different initial concentrations of Bcl- 2: the baseline value (75nMs), an increase by 10x (750nMs), and an increase by 100x (7500nMs). Assuming a cell volume of 10−12 liters, we convert the concentrations into molecular multiplicities: baseline value (45166 molecules), 10x (451660 molecules), and 100x (4516606 molecules). We expect to see a decline in Caspase-3 activation as Bcl-2 concentration is increased by 10x and 100x; we provide the results of our simulation in (Fig. 2). We also provide the results of a simulation with a decrease of 10x and 100x in comparison to the baseline Bcl-2 multiplicity (Fig. 3). Notice, the graphs based on our Membrane System simulations are comparable to the ODE results from [8]. Fig. 3. On the right is the Membrane System and on the left is the ODE simulation (used with permission [8]). These results illustrate the models insensitivity to decreasing Bcl-2 concentrations by 10- and 100-fold. We see agreement between the two different simulators. Fig. 4. On the right is the Membrane System and on the left is the ODE simulation (used with permission [8]). Here we see the effects of Bcl-2 binding to Bax only. It seems that Bcl-2 binding only with Bax is the second most effective method for blocking the apoptotic pathway. 3.2 Bcl-2’s effects on the Type II pathway We now analyze the Caspase-3 activation kinetics by considering different mechanisms through which Bcl-2 can block the type II pathway. In [24], [14], or [1] the Language Theory in Biocomputing 56 UC'07 - Kingston, Canada
Fig. 5. On the right is the Membrane System and on the left is the ODE simulation (used with permission [8]). These two graphs show Bcl-2 binding to tBid only. We see considerably less inhibition of the pathway in this mechanism. The release of Cytochrome c is contingent on the binding of one tBid to two Bax molecules, and thus, blocking Bax would be more effective than blocking tBid. Fig. 6. On the right is the Membrane System and on the left is the ODE simulation (used with permission [8]). We see very little change in apoptotic behavior when Bcl2 is allowed to bind only with Bid. This is because Bcl-2 binding to Bid is a reversible reaction, and once Bid is truncated to tBid, it is no longer available to bind with Bcl-2. authors suggest that Bcl-2 might bind with (a) Bax, (b) Bid, (c) tBid, or (d) bind to both Bax and tBid to block the mitochondrial pathway. We have implemented in our Membrane System four different sets of rules to test each Bcl-2 binding mechanisms. We refer the interested reader to [8] for the details of the rules. The dynamics of Caspase-3 activation are studied by varying the Bcl-2 concentration 10x and 100x the baseline value. The conclusion of [8] is that Bcl-2 binding to both Bax and tBid (d) is the most efficient mechanism for inhibiting apoptosis. Our Membrane System yields results that are in agreement with the observations from [8]. The results of (d) are illustrated in Fig. 2, and (a) - (c) can be seen in Fig. 4 - Fig. 6. A comparison of (a) - (d) at baseline Bcl-2 concentration is shown in Fig. 7. Modeling the Behavior of the Type I Pathway There are cells which are not sensitive to Bcl-2 over expression as described in [20]. In these cells, Caspase-3 is activated through the type I pathway, bypassing the role of the mitochondria and Bcl-2. Scaffidi et al. have suggested in [20] that the type of pathway is chosen based on the concentration of Caspase-8 generated in active form following FASL binding. High concentration of active Caspase-8 allows for direct activation of Caspase-3 (type I), but if the concentration of Caspase-8 is sufficiently low, amplification of the death signal through the mitochondria is required to induce Language Theory in Biocomputing 57 UC'07 - Kingston, Canada
Fig. 7. On the right is the Membrane System and on the left is the ODE simulation (used with permission [8]). At baseline Bcl-2 concentration, each of the four mechanisms for Bcl-2 inhibition are similar. Both simulators agree across all rule versions: Bcl-2 binding with Bax only, Bid only, tBid only, or Bax and tBid. the cell death (type II). We test this hypothesis by increasing the initial concentration of Caspase-8 by 20x (from 33.33nMs to 666.6nMs), which should lead to increased active Caspase-8 throughout the simulation run. In two different runs of increased Caspase-8 concentration, the baseline concentration of Bcl-2 is used and an increase of 100x, testing the sensitivity of Caspase-3 activation to Bcl-2. Fig. 8 shows the Caspase-3 activation is not sensitive to the increase in Bcl-2 concentration, which is the hallmark for type I pathway dominant behavior. N.B., the binding mechanism chosen for this simulation is Bcl-2 to Bax and tBid, which was shown above to be the most efficient mechanism for Bcl-2 inhibition of apoptosis. Fig. 8. On the right is the Membrane System and on the left is the ODE simulation (used with permission [8]. Unlike the type I pathway, the type II pathway is unaffected by a 100-fold Bcl-2 increase. We are pleased with these results, as Bcl-2 acts to block the release of Cytochrome c, which is an unnecessary molecule in this pathway. We will now describe another method of simulating signal cascades, using a strategy that is based on the well known Gillespie’s algorithm, but running on more than one compartment. It is called Multi-compartmental Gillespie Algorithm. Language Theory in Biocomputing 58 UC'07 - Kingston, Canada