Abstract
We have developed a method for modeling spatial stochastic biochemical reactions in complex, three-dimensional, and time-dependent domains using the reaction-diffusion master equation formalism. In particular, we look to address the fully coupled problems that arise in systems biology where the shape and mechanical properties of a cell are determined by the state of the biochemistry and vice versa. To validate our method and characterize the error involved, we compare our results for a carefully constructed test problem to those of a microscale implementation. We demonstrate the effectiveness of our method by simulating a model of polarization and shmoo formation during the mating of yeast. The method is generally applicable to problems in systems biology where biochemistry and mechanics are coupled, and spatial stochastic effects are critical.
I. INTRODUCTION
Stochastic simulation of biochemical reactions has become an essential part of systems biology. Many examples exist where mean-field or deterministic analysis is insufficient to capture the relevant dynamics of real biological systems.1–3 In particular, systems in which the copy number of any relevant species is small will often be more accurately modeled with stochastic simulation. There exist several methods to model biochemical reactions stochastically, the most popular of which is the Stochastic Simulation Algorithm (SSA) or Gillespie algorithm.4 This algorithm assumes that the system is spatially homogeneous, or well-mixed, which is not the case in many interesting biological problems.
Polarization in yeast5 and neutrophils,6 Min oscillations during cell division of E. coli,7,8 and development9 are a few examples where the well-mixed assumption does not apply. There are several different methods for modeling spatial stochastic biochemical reactions, which can be broadly grouped into two categories. First are the particle-tracking, or free-space based on the Brownian dynamics formalism,10 methods that resolve the system on a microscopic scale.11–13 These methods are more accurate but can be quite difficult to simulate in an efficient manner. The other group of methods works on the mesoscopic scale and is based on the reaction-diffusion master equation (RDME) formalism.7,14–16 These methods discretize the domain into spatially homogeneous subvolumes (or voxels). Reactions within a voxel are modeled with the SSA algorithm, while diffusion between voxels is modeled as events occurring at intensities chosen to be consistent with the diffusion equation. The RDME is significantly faster to simulate than microscopic methods, with some sacrifice in accuracy. A more detailed background on these methods will be given in Section II A. One assumption that underlies all of the methods mentioned here is that the physical domain is static in time. This is often not the case in biology.
Shmoo growth during the mating of yeast,17 tip growth in fungal hyphae,18 chemotaxis in neutrophils,6 cell migration,19 and cell division7,8 are some examples where the physical domain of the cell is changing in time. There has also been recent work dealing with the critical role that geometry can play in fundamental biological processes, such as polarization.20 In this paper, we present a method to efficiently model stochastic reaction-diffusion systems in complicated, three dimensional (3D), time-dependent geometries using the RDME framework. Previous work to model stochastic reaction-diffusion systems in time-dependent domains has focused on particle-based approaches.21 While these methods are viable in some settings, it is generally accepted that the accurate particle-tracking methods become prohibitively expensive as the system size grows large. An efficient implementation of the RDME on time-dependent domains can effectively handle complex geometries as well as large reaction networks, while still being practical in terms of simulation time. There has also been previous work that has dealt with particle migration on 1D growing domains using the RDME formalism, where results have been compared to those of partial differential equation (PDE) models.22–24 Additionally, we note that the particle-based software Smoldyn11 has capabilities to change the size of domain during simulation.
A key problem that our method addresses arises in systems where the biochemical reaction network is fully coupled to the mechanical properties of the physical domain. Our motivating example is the growth of the mating projection in yeast. In this system, enzymes modify the material properties of the cell wall, softening it, and as a result the force of the internal turgor pressure deforms the cell. At the same time, cell wall construction proteins strengthen the cell wall and slow the movement. A diagram of this process is illustrated in Figure 1. Our method does not propose to solve arbitrary mechanics of the model system under consideration. Instead, we integrate an external function or software that models and solves the equations governing the mechanics of the system, which will take as input the state of our biochemical system and provide as output the instantaneous velocity of the boundary of the domain. It is important to note, however, that this is simply one possible problem that can be handled by our proposed algorithm. In general, the function that moves the boundary does not need to be defined by mechanics (e.g., a constantly expanding sphere). The only requirement is that there is a velocity field provided to move the boundary, which can be empirically or theoretically derived.
FIG. 1.
Diagram illustrating the how the yeast mating projection grows, our motivating example. Cell wall modifying enzymes (yellow) are localized to the polarized region of the cell membrane. These enzymes soften the cell wall. The internal turgor pressure pushes on the cell wall, deforming it, and creating the mating projection.
It is important to note that in our method it is necessary to have a separation of time scales between the diffusion of the biochemical species and the movement of the boundary. It is critical that diffusion is faster than the boundary velocity to accurately simulate the system. In Sections IV A and IV B we characterize the error our method incurs and how it relates to the difference in time scales of diffusion and the velocity of the boundary. Essentially, it is possible to find a time step small enough to satisfy a user specified error tolerance if there is in fact a separation of time scales.
In this paper, we present a method to efficiently simulate stochastic reaction-diffusion models coupled to time-dependent domains using the RDME formalism. An outline for the rest of this paper is as follows: in Section II, we give a brief review of the RDME and how it can be simulated efficiently in complex domains using the Next Subvolume Method (NSM)15 on unstructured meshes.25 In Section III, we present our method and discuss implementation and theoretical considerations. Next, in Section IV, we present three examples that serve to show the convergence properties and accuracy of the method along with demonstrating the applicability of the method to biologically relevant problems. Specifically, in Section IV A, we compare the results of our method to a microscale implementation of a single species diffusing within an expanding 1D line that can react with the boundary. This example serves to demonstrate the accuracy and convergence (in the spatial distribution of molecules) of our method compared with a microscale implementation over a range of expansion velocities and time steps. To accurately compare these different scales of simulation, we also derived the relationship between mesoscale and microscale reaction rates (see Appendix C for details). Next, in Section IV B, we present a more biologically relevant, yet still theoretically tractable, model of polarization in yeast, introduced in Ref. 26. This model contains a density dependent switch for polarization which we explore through an expanding and contracting sphere and compare to theoretical steady state results from Ref. 26. Lastly, in Section IV C we present a model in which the state of the biochemical system dictates the movement of the boundary. In particular, we present a new model for the polarization of Cdc42 in mating yeast (see Appendix Appendix A for details) and qualitatively compare to experimental data. Finally, we end the paper in Section V with a discussion of the method and our results.
II. BACKGROUND
A. The reaction-diffusion master equation
As mentioned above, the RDME27 is a mesoscopic model for spatial stochastic chemical reactions. It gives the time evolution of the probability distribution for the state of the system. First, the physical domain is partitioned into K nonoverlapping subvolumes or voxels, similar to numerical methods for PDEs. Molecules are taken to be point particles and the state of the system is the discrete number of molecules of each species for each of the voxels in the mesh. The computational mesh can either be a structured Cartesian grid or an unstructured triangular or tetrahedral mesh. Here, we focus on the unstructured case which will be discussed further in Section II C. Modeling the reaction-diffusion dynamics as a Markov process gives the following forward Kolmogorov equation for the time evolution of p(x,t) = p(x,t|x0,t0) (the probability that the system can be found in state x at time t, conditioned on the initial condition x0 at time t0)
| (1) |
| (2) |
| (3) |
where denotes the ith row and denotes the jth column of the state matrix x, where S is the number of chemical species. The functions air(xi) define the propensity functions of the M chemical reactions, and are stoichiometry vectors associated with the reactions. The propensity functions are defined such that gives the probability that reaction r occurs in a small time interval of length . The stoichiometry vector defines the rules for how the state changes when reaction r is executed. dijk(xi) are propensities for the diffusion jump events, and are stoichiometry vectors for diffusion events. has only two non-zero entries, corresponding to the removal of one molecule of species xk in voxel i and the addition of a molecule in voxel j. The propensity functions for the diffusion jumps, dijk, are selected to provide a consistent and local discretization of the diffusion equation, or equivalently the Fokker-Planck equation for Brownian motion. It is important to note, as mentioned in Section I, that this formalism is defined for a physical domain that is static in time. We will relax this assumption with our method to accommodate time-dependent domains.
B. The next subvolume method
In most cases, the RDME is too high-dimensional to solve directly. Thus, algorithms have been developed that generate exact realizations of the Markov process described by the RDME, in a Monte Carlo fashion. One particularly efficient algorithm that we focus on for our implementation is the Next Subvolume Method (NSM).15 In this algorithm, the time to the next event in each voxel (either a chemical reaction or diffusion event) calculated by the Direct Method formulation of the SSA.28 To identify in which voxel the event occurs, the algorithm uses the Next Reaction Method formulation of the SSA.29 If it was a chemical reaction event that occurred, then only the voxel in which the event occurred needs to be updated, while if a diffusion event occurs both the voxel where the molecule started and the voxel where the molecule ended up need to be updated. The key to the efficiency of the NSM is the use of an event priority queue which gives a scaling of , where K is the number of voxels in the mesh.
C. RDME on unstructured meshes
The use of unstructured meshes allows for complicated geometries in 3D to be more easily accommodated, such as the curved surfaces of cell membranes. PyURDME30 (based on URDME25) is a software framework for simulation of the RDME on unstructured meshes that we extend to time-dependent domains. For the theoretical details of how to obtain mesoscopic diffusion constants on unstructured meshes, see Ref. 31. Using the finite element package DOLFIN32 we obtain the diffusion matrix for the system, from which we get the jump coefficients for individual voxels. The flexibility of simulating on unstructured meshes allows our method to handle complex time-dependent domains in 3D.
III. COMPUTATIONAL METHOD FOR SPATIAL STOCHASTIC SIMULATION WITH A MOVING BOUNDARY
In this section we develop a computational method for simulation of spatial stochastic systems defined by the RDME formalism on domains with moving boundaries. Our method utilizes the time scale separation between the diffusion of the biochemical species in the RDME system and the movement of the boundary of the domain. The method is formulated for systems where diffusion is faster than the boundary movement. In this context we use operator splitting to decouple the reaction-diffusion operator from the domain movement operator, solving each operator sequentially over the same time step.
In the formulation of the RDME, the spatial domain is discretized into volume units known as voxels. For example, in our PyURDME software package30 the 3D domain is discretized using tetrahedral elements. Since the RDME is formulated to be solved on a static domain, we cannot directly adapt it to a moving domain. Instead, we employ an operator splitting style simulation, by first solving the RDME for a small time (the splitting time step) on a static mesh. Then we use the state of the biochemistry to find the velocity of the boundary of the domain through a function specified by the user, and evolve the mesh over the same time step . Finally, the state of the biochemical system is transformed to the newly evolved mesh. A sequence of these steps are taken until the simulation reaches the final time.
The algorithm for moving the mesh has four components. Figure 2 illustrates these components and the process flow between them. The first component is the simulation of the biochemical system for a time on a specific mesh (denoted as ) starting from an initial state xa(t) to a final state ,
| (4) |
FIG. 2.
Diagram illustrating the process flow of the moving mesh algorithm.
The second component is the computation of the velocity field v at the boundary of the domain, as a function the state of the biochemical system. In our motivating example of the growth of the yeast mating projection, the internal turgor pressure pushes uniformly on the cell wall, but the wall expands preferentially where it has been softened by the enzymes. Thus, the instantaneous velocity field of the growing mating projection is a function of the spatial distribution of the cell wall modifying enzymes within cell. See Section IV C for more details, and Figure 7 for an illustration.
FIG. 7.
Diagram describing the process where polarization of the yeast model (spatial psrofile of protein concentration) is used to calculate the deformation of the domain. At each time step of the algorithm the following process is repeated. First the biochemical system is simulated using the spatial stochastic solvers in PyURDME for a length of Δt. Next the point of maximum polarization is found and the normal vector is calculated at that point. Then, the velocity of the surface is calculated using the normal vector as the direction, with the amplitude calculated from a Gaussian function centered at the maximum polarization point (empirically parameterized). The mesh is then deformed by the application of the velocity field. Finally, the biochemical state of the system is transferred to the new mesh.
This is the component that couples the biochemical simulation with the moving domain. This function is a part of the model being simulated, and is thus provided by the user as input to the method. The function can be of only the final state of the biochemical system, , or of some aggregate of all previous states, ,
| (5) |
The third component is the evolution of the mesh over the simulation time step . Using the domain boundary velocity calculated previously, a new mesh is created by evolving the mesh linearly over the time step. This is done by moving each mesh point according to the velocity field at that point, via the forward Euler method. In our software implementation, this is done via the FEniCS/Dolfin package,32
| (6) |
The final component of the algorithm is the method for transferring the state of the biochemical system from the current mesh, , to the newly created mesh, . On each step of the moving mesh simulation the x, y, z position of each particle is sampled on . An assumption of the RDME is that particles are uniformly distributed within each voxel. Consequently, the position of the particle is sampled uniformly from its containing voxel’s volume. Since the boundaries of a voxel are often difficult to compute on an unstructured mesh, we make an approximation and sample the position from a sphere with a volume equivalent to that of the containing voxel. It is important to note that this assumption induces a spatial error that is proportional to the mesh resolution and the quality of the mesh. That is, the more elongated the tetrahedrons are, the more error is induced in the sampled particle’s spatial position. Implementations of this algorithm must ensure that the mesh is of sufficient quality throughout the simulation. Next, the particle is assigned to the closest voxel new mesh, (minimizing Euclidian distance), to the sampled x, y, z position. Often in systems biology models, biochemical species are required to remain in specific subdomains of the system. For example, membrane bound proteins must remain on the membrane, which is modeled as the voxels on the boundary of the mesh. If the species of a particle is restricted to a subdomain in this way, then it is moved to the closest voxel that is within that subdomain. If the sampled position of a particle falls outside the domain , then it is placed at the closest voxel (that is of an appropriate subdomain) within . See Figure 3 for an illustration. This procedure is repeated for each particle within the system, thus the biochemical state of the system is transferred from to , which we denote as
| (7) |
FIG. 3.
Diagram illustrating the particle redistribution process. On each step of the moving mesh simulation, the state of the biochemical system is transferred from the old mesh (left) to the new mesh (right). The x, y, z position of each particle is sampled on the old mesh (uniformly from within the volume of the containing voxel); the particle is assigned to the voxel in the new mesh that is closest to that sampled position. If the species of a particle is restricted to a subdomain (e.g., membrane-bound proteins), then it is moved to the closest voxel in that subdomain.
The iterative algorithm is described in Algorithm 1.
ALGORITHM I. Spatial stochastic simulation for a domain with a moving boundary.
| Input: , , , x0(0), tfinal, and the Biochemical Reaction Network |
| Output: , |
| 1: i = 0, , |
| 2: while t tfinal do |
| 3: |
| 4: |
| 5: |
| 6: |
| 7: i = i+1, |
| 8: end while |
A. Rejection-based step size selection
We extend the method presented in Algorithm 1 to include an adaptive method for error control. We will see in Example 2 that the error our method incurs will depend on variables of the velocity of the domain and the operator splitting time step. To implement our adaptive error control time stepping scheme, we define a new input dmax as the maximum distance any given point on the boundary is allowed to move in any single time step. In each step, if the magnitude of any component of the velocity multiplied by the time step is greater than dmax, then that step is rejected, the time step is set to half its previous value, and the state is recomputed over the new time step. The accepted time step will then be used for the next step of the algorithm. Finally, if the step is accepted on the first pass (no rejection) and the time step had been previously reduced ( is less than ), then time step for the subsequent step, , is increased to double the current time step size. See Algorithm 2 for details. Note that, as the simulation of the RDME by the NSM algorithm is a continuous operator, we are able to sample at any specified time within the interval . This allows us to avoid recomputing the biochemical state when a step is rejected, leading to a more efficient implementation. In our simulations, for each invocation of the NSM operator, we sample the state of the RDME at [, , , ]. This allows us to half the time step three times without
ALGORITHM II. Adaptive spatial stochastic simulation for a moving boundary domain.
| Input: , , dmax, , X0(0), tfinal, and the Biochemical Reaction Network |
| Output: , |
| 1: i = 0, , |
| 2: while t tfinal do |
| 3: |
| 4: |
| 5: |
| 6: If then |
| 7: repeat |
| 8: |
| 9 |
| 10 |
| 11 = |
| 12 Until |
| 13 else if then |
| 14 = 2 |
| 15 end if |
| 16 |
| 17 |
| 18 i = i+1, , |
| 19 end while |
recomputation of the biochemical system. It should be noted that to avoid biased simulations, the state of the random number generator must be preserved when the step is rejected and the step restarted with the same state.
IV. RESULTS
Here we present three examples to verify and show the utility of our method.
A. Example 1
In our first example, we demonstrate numerically that our method converges in distribution as the time step decreases. In a general problem the error depends on multiple factors, such as the time step, the mesh resolution, and the quality of the mesh. To isolate the error induced by the time step selection, we consider a 1D domain of width , where R is the right endpoint and L the left endpoint. A single species S diffuses (with D = 1), associates with, and dissociates from the left boundary. We let expand to the left; thus L is a function of time t. Specifically we let
where v is the constant speed of the expansion.
The domain is discretized into Nvox voxels, each of width h. We denote the microscopic association rate by kr and the microscopic dissociation rate by kd. The mesoscopic rates, and , are then given by and , as shown in Appendix C. We let L = 0 and R = 1 initially.
To show that our method is accurate we simulate the system until the final time T = 1, and compare the spatial distribution of particles to the spatial distribution obtained with a more detailed Brownian dynamics method.10 The error will be a function of the speed of expansion v, the time step , the number of voxels Nvox, and the reaction rates kr and kd. We expect the error to be larger for a large v, as the boundary moves more during each time step. For small enough Nvox the spatial resolution will be insufficient, and the error will consequently be large. To demonstrate these effects, we ran simulations with varying from 0.01 to 0.2 with .
We simulated 106 molecules and computed the Kolmogorov-Smirnov distance between the spatial distributions of unbound particles at the final time point T (with the domain expanding at constant velocity, convergence at the final time point implies convergence throughout). In Figure 4 we show that, as expected, the error decreases with decreasing time step .
FIG. 4.
Error in distribution as a function of the size of the time step for a 1D moving domain with an absorbing/desorbing boundary for three different reactive rates (columns) and three different spatial discretizations (rows). Our mesoscopic method was compared with a Brownian dynamics microscopic simulation of molecules. We define the error as the Kolmogorov-Smirnov distance between the spatial distributions of unbound particles at the end time (1s). As we can see by comparing the middle three panels to the bottom three panels, the error is similar to Nvox = 20 and Nvox = 50, meaning that the problem is spatially well-resolved already with Nvox = 20, while for Nvox = 5 we can see that the system is not fully resolved for the case of ka = 50 and kd = 1.0. As expected, the larger the speed v of the expansion, the larger the error, but as the splitting time step decreases, so does the error. For v = 0.05, the domain is expanding so slowly that the stochastic error dominates, and no difference is seen as varies between 0.01 and 0.2.
B. Example 2: Density dependent switch for polarization in an expanding and contracting sphere
In our second example, we verify the accuracy of our method by comparing against the analytical solution of a biochemical model found in the literature. To demonstrate the applicability of our method to biologically relevant problems, we have implemented a simple model of polarization in yeast on a moving domain. In particular, we focus on a model of polarization presented in Ref. 26 that relies on a minimal positive feedback circuit. This model is particularly interesting as it has been shown to polarize only when modeled stochastically, opposed to deterministically. The yeast cell is modeled as a sphere with a membrane on the surface of the sphere. The model has three reactions between two species: cytosolic Cdc42 spontaneously attaches to the membrane with rate kon (Eq. (8)), membrane-bound Cdc42 likewise spontaneously detaches with rate koff (Eq. (9)), and finally membrane-bound Cdc42 recruits cytosolic Cdc42 to the membrane at rate kfb, to close the positive feedback loop (Eq. (10)),
| (8) |
| (9) |
| (10) |
The cytosolic and membrane-bound species can diffuse at rates Dcyt and Dmem, respectively, (the diffusion of the membrane-bound Cdc42 being restricted to the membrane). This model was shown in Ref. 26 to have a density dependent switch. That is, there is a critical range for polarization of molecules on the membrane. This range is from a lower critical density necessary to facilitate polarization to an upper density above which molecules become essentially homogeneous on the membrane (i.e., not polarized). From Ref. 26 it is also possible to calculate theoretically the steady state ratio of molecules in the cytoplasm for any given density, which we will use as a comparison for our simulations.
To test our moving mesh algorithm, we implemented the model described above in an expanding and contracting sphere for a fixed number of total molecules. For the expanding sphere case, the initial radius was set below the theoretical switch value calculated from Ref. 26. Specifically, the critical radius can be calculated as follows:
| (11) |
where N is the total number of molecules (cytosolic and membrane-bound) and rcrit is the critical radius. Here we set N = 1000 and , thus from Eq. 11 we have . From the initial radius (below the critical radius), the radius of the sphere expands at a constant velocity to a final value which is greater than the critical radius. The error incurred by our operator split method is dependent on both the speed at which the sphere expands and the operator split time step that is chosen. Again, the error here is defined as the relative error between the number of cytosolic molecules in the simulation and the theoretical steady state value calculated from Ref. 26. We calculated this error over a range of expansion velocities and operator split time steps to investigate the convergence behavior for our method. A similar test was performed for a contracting sphere which starts at a radius just below the critical value and decreases at a constant velocity to some final radius. The results of these convergence studies are shown in Fig. 5. As expected, the larger the velocity of radial expansion, the more error the method will generate for both the expanding (Fig. 5(a)) and contracting (Fig. 5(b)) sphere cases. The same trend can be seen for large time steps (Figs. 5(a) and 5(b)). Note that for each parameter value multiple realizations were run and averaged before being compared to the theoretical value. The 95% confidence interval for three realizations of the number of cytosolic molecules at each parameter value is shown for the expanding sphere in Fig. 5(c) and for the contracting sphere in Fig. 5(d). An example time series of heatmaps showing the number of membrane bound molecules on the surface of an expanding sphere can be seen in Fig. 6(a), with red being a higher number of molecules and blue a lower value. Also, a sample trajectory of the expanding sphere simulation can be seen in comparison to the theoretical steady state solution in Fig. 6(b) (here with parameter values of nm/s and tsplit = 20 s). Again, the purpose of this example problem is to characterize the error incurred by our method as compared to theoretical results in the literature and
FIG. 5.
Comparison of our method to theoretical results from the literature. As expected, the error for our method decreases with the velocity of the boundary and the time step. (a) Relative error in 2-norm for a variety of expansion velocities (v) and operator-split time steps for an expanding sphere. (b) Relative error in 2-norm for a variety of contraction velocities (v) and operator-split time steps for a contracting sphere. (c) 95% confidence intervals for three trajectories at a variety of expansion velocities (v) and operator-split time steps (Δtsplit) for an expanding sphere, along with the theoretical value (dashed red line). (d) 95% confidence intervals for three trajectories at a variety of contraction velocities (v) and operator-split time steps (Δtsplit) for a contracting sphere, along with the theoretical value (dashed red line).
FIG. 6.
(a) Time series of heatmaps showing the number of membrane-bound molecules on the surface of an expanding sphere (note that the radii are not to scale and by 740 s there are no molecules on the membrane). (b) An example of a single trajectory showing the number of cytoplasmic molecules versus time for an expanding sphere along with the theoretical value as calculated from Ref. 26. Note that for each parameter value multiple realizations were run and averaged before being compared to the theoretical value.
specifically to elucidate how this error depends on the velocity of the boundary and the time step. This example also demonstrates the utility of our method for studying problems of biological relevance.
C. Example 3: Formation of the yeast mating projection
In our third example, we show the use of our method on a biologically relevant system that couples the biochemical reactions with the moving boundary. Our motivating example is the polarization of proteins during mating of Saccharomyces cerevisiae, and the resulting growth of the mating projection.
Yeast cells sense mating pheromone in their extra-cellular environment, and determine the direction of their mating partner by sensing the chemical gradient. The chemical gradient of pheromone induces polarization of the yeast cell, localizing proteins, and actin cables to the region of the yeast cell that is closest to a nearby mating partner. The mating projection starts to form when the polarisome organelle is formed at the site of polarization. The polarisome acts to coordinate the formation of the mating projection via the transport of cell wall cutting enzymes as well as cell wall material and synthase proteins. As these processes work together, the yeast cell changes shape from a spheroid to grow a projection.
To simulate this process we present a new spatial stochastic biochemical model of yeast polarization, centered around the polarization of the protein Cdc42. This model is a novel combination of reactions published in Refs. 33 and 34. As these models were originally presented deterministically, for use with this method we have converted the reactions to a mechanistic and stochastic formulation (see Appendix A for a complete description of the model). To present a simplified model of polarization, we omit the dynamics of the receptor-ligand binding (presented elsewhere35,36) and take as input to the model a time-constant spatially varying concentration of the activated G-protein (beta-gamma subunit). The biochemistry determines the moving boundary by expanding the sphere at the point of greatest polarization, in the direction of the normal at that location. The other points on the boundary of the domain are moved in a parallel direction, with the magnitude attenuated by a Gaussian of the distance to the point of maximum polarization. This is illustrated in Figure 7.
Figure 8 shows a comparison between our yeast polarization simulation results (columns (d) and (e)) and microscopy images of a polarizing yeast cell (columns (a)-(c)). Column (b) shows the outline of the yeast cells overlaid on the microscopy images, and column (c) shows just the outline of these cells. Column (d) shows a scatter plot of the voxel centers of our simulation results, projected onto a plane containing the origin and the point of greatest polarization. Column (e) shows the 3D visualization of the simulated growing yeast cell, where the color map shows the concentration of active Cdc42 on the membrane (red corresponds to the highest concentration, and blue to the least). The frames (rows) in column (a)-(c) are separated by 50 min intervals. In this simulation, the state of the biochemical system and the movement of the boundary are fully coupled. This figure shows a qualitative match between a real cell phenotype and our biochemical model simulated via our method.
FIG. 8.
Comparison between microscopy images of yeast cells during polarized growth and simulations of the growing yeast mating projection. (a) Fluorescent microscopy time-lapse images of yeast cells during exposure to mating pheromone (α-factor). Cells are tagged with Mid2-GFP (see Appendix D for experimental details). (b) Manual cell shape extraction overlaid on microscopy images for a single cell. (c) Enlarged cell shape without microscopy image. (d) Scatter plot of the voxel centers of our simulation results projected onto a plane containing the origin and the point of greatest polarization. (e) 3D visualization of the simulated growing yeast cell, where the color map shows the concentration of active Cdc42 on the membrane (red corresponds to the highest concentration, and blue to the least).
V. CONCLUSIONS
We have developed a method for simulating stochastic biochemical reactions on time-dependent domains using the RDME formalism. This method involves the following steps: simulating the RDME on a fixed geometry for a given time step, using the state of the biochemical system as input to a function that moves the boundary in a user-specified manner, over that same time step, redistributing the molecules in the system to the new geometry, and then repeating until a specified end time. Our method simulates the RDME on unstructured meshes, which allow it to easily handle the complex geometries that often show up in biological applications. We have shown, through various example problems, that the error our method will incur depends on a few key factors, including the specified time step, the speed of the moving domain, the diffusion constants of the species, and the reaction rates of the system. We have also demonstrated the potential usefulness of such a method by simulating the biologically relevant problem of shmoo formation during the mating of yeast, a problem where spatial stochastic effects are important and the geometry is changing in time as a result of the state of the biochemical system.
We have implemented this method in our spatial stochastic modeling and simulation software package PyURDME:30 the Python package for simulation of Unstructured mesh Reaction-Diffusion Master Equation models. The reaction-diffusion biochemical model system has been extended to allow the inclusion of a movement of the mesh, and the inspection of the resulting mesh quality and adaptive mesh refinement are accomplished via integration of the open source finite element package FEniCS/Dolfin.32 The software package, along with instructive examples, is available from our code repositories on Github.
This method is generally applicable to problems arising in systems biology where spatial and stochastic effects are critical and the physical geometry is changing in time. In particular, this method is applicable to the common case in systems biology where the movement of the boundary of a cell is directly determined by the state of certain biochemical species. The error will be more manageable for systems where there is some separation of time scales between the movement of the boundary and the diffusion rate of the biochemical system. In the future, we hope to extend our analysis of biologically relevant problems with coupled biochemistry and domain movement, such as in shmoo formation in yeast mating. Other specific systems where this method could be useful include the following: tip growth in fungal hyphae,18 chemotaxis in neutrophils,6 cell migration,19 and cell division.7,8 Another future direction is to develop a method that more closely couples the dynamics of the moving boundary and the biochemistry, thus avoiding the error involved in splitting the two, but this is a considerably more involved problem.
ACKNOWLEDGMENTS
We would like to thank Professor Otger Campás for his helpful discussions. This work has been funded by National Institutes of Health (NIH) NIGMS Award No. R01-GM113241 and NIBIB Award No. R01-EB014877, Department of Energy (DOE) Award No. DE-SC0008975, Institute for Collaborative Biotechnologies (ICB) Award No. W911NF-09-0001 from the U.S. Army Research Office, and National Science Foundation (NSF) Award No. DMS-1001012. The content of this paper is solely the responsibility of the authors and does not necessarily represent the official views of these agencies.
APPENDIX A: MODEL OF Cdc42 POLARIZATION IN YEAST
The model for the of Cdc42 used in Section IV C is a combination of reactions published in Refs. 33 and 34. The key component from Ref. 33 is what is known as a GDI reaction which preferentially moves the inactive form of Cdc42 from the membrane to the cytosol. Diffusion is much faster in the cytosol than on the membrane and this difference in diffusion is what leads to a Turing-type mechanism for pattern formation, as originally discussed in Ref. 37. The essential components from Ref. 34 are a negative feedback mechanism through the protein Cla4 and recruitment of Cdc24 to the membrane by Gbg (the subunit of the heterotrimeric G-protein which is activated in response to pheremone during yeast mating). Both Refs. 33 and 34 originally modeled their respective reactions using deterministic PDE models. Here we take certain key reactions from both models and model them mechanistically using the RDME formalism, which results in the following reactions:
where the subscripts c and m denote cytoplasm and membrane-bound species, respectively. Cdc42GTP and Cdc42GDP are the active and inactive forms of Cdc42 on the membrane respectively. Cla4am and Cla4m are the active and inactive forms of Cla4 on the membrane respectively. The physical domain starts as a sphere with a radius of with a membrane on the surface of the sphere and evolves according to the state of the biochemical system. Diffusion of membrane bound species is restricted to the membrane. Gbg is taken to be a constant input function with a uniform concentration throughout the domain (i.e., it is not an explicit species and thus does not diffuse). The parameter values, descriptions, and references used in Section IV C are given in Table I.
TABLE I.
Parameters for the Cdc42 yeast polarization model.
| Parameter | Value | Description | Reference |
|---|---|---|---|
| Dm | 0.0053 | Diffusion constant on | 38 |
| membrane | |||
| Dc | 50 | Diffusion constant in | 39 |
| cytoplasm | |||
| R | 2.00 | Reference radius of cell | 34 and 40 |
| N42 | 3000 | Total number of Cdc42 | 34 and 40 |
| molecules | |||
| NB | 3000 | Total number of Bem1 | 34 and 40 |
| molecules | |||
| N24 | 1000 | Total number of Cdc24 | 34 and 40 |
| molecules | |||
| NCla4 | 5000 | Total number of Cla4 | 34 and 40 |
| molecules | |||
| NGbg | 5000 | Total number of Gbg | 34 and 40 |
| molecules | |||
| 0.2 | Cdc24 activating Cdc42m | 33 | |
| 1 | Deactivation of Cdc42 | 33 | |
| 0.266 | Cdc24 activating Cdc42c | 33 | |
| 0.28 | Attachment of Cdc42c | 33 | |
| 1 | Detachment of Cdc42m | 33 | |
| 0.2667 | Active Cdc42 recruit Bem1c | 33 | |
| 0.35 | Detachment of Bem1m | 33 | |
| 0.00297 | Bem1m recruit Cdc24c | 33 | |
| 0.35 | Detachment of Cdc24m | 33 | |
| kon | 0.00297 | Gbg recruit Cdc24c | 33 |
| kCla4a | 0.006 | Active Cdc42 recruit Cla4 | 34 and 40 |
| kCla4d | 0.01 | Negative feedback via Cla4 | 34 and 40 |
| k24d | 1.0/30 000 | Deactivation of Cla4 | 34 and 40 |
APPENDIX B: MICROSCALE SIMULATIONS
On the microscopic scale we track the continuous position of individual particles, in contrast to the mesoscopic scale on which we track only the copy number of particles in each voxel. Molecules move by normal diffusion and are modeled by hard spheres with reaction radius . The reaction dynamics as two molecules collide is governed by the Smoluchowski equation41 with a Robin boundary condition.
Consider two molecules, S1 and S2, with diffusion rates D1 and D2 and reaction radii and . Let D = D1 + D2 and . At time tn, the positions are given by and . We let p(x1, x2, t|x1n, x2n, tn) be the probability distribution function representing the probability that the positions of the molecules are given by x1 and x2 at time t. The diffusion of the molecules is governed by the Smoluchowski equation
| (B1) |
where is the -operator applied to xi, and where p(x1, x2, t) := p(x1, x2, t|x1n, x2n, tn).
Via a change of variables, and , we obtain two independent equations
| (B2) |
| (B3) |
The reaction dynamics are now governed by the boundary conditions, given by
| (B4) |
where
| (B5) |
and where kr is the microscopic reaction rate.
The initial condition is given by , and we enforce . New positions for two interacting molecules can be sampled by solving the above equations. An efficient algorithm for simulating systems of molecules is the GFRD algorithm.13 Another approach, aimed at simplifying the sampling process by solving the above equation by performing operator splitting, is described in Ref. 42. For microscopic simulations on moving meshes, we follow the approach described in Ref. 21.
APPENDIX C: MESOSCOPIC REACTION RATES IN 1D
In Section IV A we compare mesoscopic simulations in 1D with microscopic Smoluchowski simulations in 1D. To do an accurate comparison, we first need to determine how the mesoscopic reaction rates relate to the microscopic rates. To obtain this relationship we follow an approach similar to that in Refs. 43–45.
We consider a particle of species A diffusing with rate D in a 1D domain, and reacting with the left boundary according to
| (C1) |
where Amem is a molecule of species A bound to the membrane. The rate kon is the effective rate, by which we mean that, given a uniformly distributed A molecule, the molecule will react with the boundary after an average of V/kon s, where V is the volume of the domain (in this case the length of the interval).
Let (s−1)be the intensity with which an A molecule reacts with the membrane, given that it is occupying the voxel adjacent to the membrane. First we find as a function of kon and the width h of the voxel, and then proceed to determine kon as a function of the microscopic reaction rate kr.
We first note that a problem equivalent to the above is that of a molecule A starting uniformly on a 1D domain of width 2V reacting with a molecule B fixed at the origin (at rate kon). This can be seen by considering the symmetry of the problem. We therefore let L = 2V, and derive to match the average binding time of an A molecule to a molecule fixed at the origin on a 1D interval of width L.
We denote the mean effective binding time of the two molecules by . Thus , and
| (C2) |
where is, given a uniform inital distribution, the average time until the A molecule reacts with the B molecule on the mesoscopic (RDME) scale, and is the average time until the A molecule rebinds to the B molecule, given that the molecules have just dissociated. Note that the rebinding time is the same as the time until the A molecule reacts with the B molecule, given that they start in the same voxel. For simplicity we will henceforth denote by . Let dtot denote the mesoscopic jump rate out of a voxel (so that dtot = h2/(2D)). Then
| (C3) |
is the probability that the next event, given that the A molecule occupies the origin voxel, is a reaction event rather than a diffusion event. Let be the average time until this event fires. We obtain
| (C4) |
where t1 is the average time until the A molecule binds to the B molecule, given that the molecule occupied the origin voxel and then diffused instead of reacted. Some straightforward algebra yields
| (C5) |
We now use (C5) in (C2) and solve for to obtain
| (C6) |
In the expression above we have two unknowns: t1 and . The effective binding time is a constant that we choose ().
From Refs. 46 and 47 we have analytical expressions for t1 and ,
| (C7) |
| (C8) |
where N is the number of voxels. We obtain
| (C9) |
| (C10) |
Note that is often considered a constant that we choose arbitrarily or obtain from experiments. However, in this case we want to compare mesoscopic simulations with microscopic simulations, and we derive as a function of the microscopic rate kr.
The effective binding time can be written in terms of microscale quantities as the sum of the time until the A molecule reaches the boundary for the first time, L2/(3D), and the time until it reacts with the boundary given that the A molecule starts in contact with the boundary, L/kr. We thus obtain
| (C11) |
in agreement with Ref. 48. Inserting (C11) into (C10), and assuming (so that ), we now obtain
| (C12) |
Thus, when comparing a mesoscale simulation to a microscale (Smoluchowski) simulation in 1D, the mesoscopic reaction rate constant should be related to the microscopic rate according to (C12). Note that from (C12) follows that the mesoscopic dissociation rate will be given by to ensure that the steady states agree.
APPENDIX D: EXPERIMENTAL DETAILS
Time-lapse imaging was performed on Mid2-GFP cells adhered to glass slides using concanavalin A in standard yeast-peptone-dextrose (YPD) media with the stage heated to 30 °C. Both fluorescent and bright-field images were taken at 10 min intervals over a 3 h period using a Nikon TE-2000 inverted microscope with an ORCA-2 CCD camera controlled by MetaMorph software. The yeast strain was constructed by fusing GFP onto the C-terminal end of MID2 using genomic integration of a W303-1A strain that is (RJD863).
References
- 1.Barkai N. and Leibler S., Nature 403, 267 (2000). 10.1038/35002258 [DOI] [PubMed] [Google Scholar]
- 2.Paulsson J., Berg O. G., and Ehrenberg M., Proc. Natl. Acad. Sci. 97, 7148 (2000). 10.1073/pnas.110057697 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Thattai M. and van Oudenaarden A., Proc. Natl. Acad. Sci. 98, 8614 (2001). 10.1073/pnas.151588598 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Gillespie D. T., J. Phys. Chem. 81, 2340 (1977). 10.1021/j100540a008 [DOI] [Google Scholar]
- 5.Pruyne D. and Bretscher A., J. Cell Sci. 113, 365 (2000). [DOI] [PubMed] [Google Scholar]
- 6.Servant G., Weiner O. D., Herzmark P., Balla T., Sedat J. W., and Bourne H. R., Science 287, 1037 (2000). 10.1126/science.287.5455.1037 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Fange D. and Elf J., PLoS Comput. Biol. 2, e80 (2006). 10.1371/journal.pcbi.0020080 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Huang K. C., Meir Y., and Wingreen N. S., Proc. Natl. Acad. Sci. 100, 12724 (2003). 10.1073/pnas.2135445100 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Gierer A. and Meinhardt H., Kybernetik 12, 30 (1972). 10.1007/BF00289234 [DOI] [PubMed] [Google Scholar]
- 10.Andrews S. S. and Bray D., Phys. Biol. 1, 137 (2004). 10.1088/1478-3967/1/3/001 [DOI] [PubMed] [Google Scholar]
- 11.Andrews S. S., Addy N. J., Brent R., and Arkin A. P., PLoS Comput. Biol. 6, e1000705 (2010). 10.1371/journal.pcbi.1000705 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Kerr R. A., Bartol T. M., Kaminsky B., Dittrich M., Chang J.-C. J., Baden S. B., Sejnowski T. J., and Stiles J. R., SIAM J. Sci. Comput. 30, 3126 (2008). 10.1137/070692017 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.van Zon J. S. and ten Wolde P. R., Phys. Rev. Lett. 94, 128103 (2005). 10.1103/PhysRevLett.94.128103 [DOI] [PubMed] [Google Scholar]
- 14.Bernstein D., Phys. Rev. E 71, 041103 (2005). 10.1103/physreve.71.041103 [DOI] [PubMed] [Google Scholar]
- 15.Elf J. and Ehrenberg M., in IEE Proceedings On Systems Biology (IET, 2004) Vol. 1, pp. 230–236. [DOI] [PubMed] [Google Scholar]
- 16.Stundzia A. B. and Lumsden C. J., J. Comput. Phys. 127, 196 (1996). 10.1006/jcph.1996.0168 [DOI] [Google Scholar]
- 17.Segall J. E., Proc. Natl. Acad. Sci. 90, 8332 (1993). 10.1073/pnas.90.18.8332 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Trinci A. P. J. and Saunders P. T., J. Gen. Microbiol. 103, 243 (1977). 10.1099/00221287-103-2-243 [DOI] [Google Scholar]
- 19.Newman T., Math. Biosci. Eng. 2, 613 (2005). 10.3934/mbe.2005.2.613 [DOI] [PubMed] [Google Scholar]
- 20.Thalmeier D., Halatek J., and Frey E., Proc. Natl. Acad. Sci. 113, 548 (2016). 10.1073/pnas.1515191113 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Ghosh A. and Marquez-Lago T. T., PLoS One 10, e0133401 (2015). 10.1371/journal.pone.0133401 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Baker R. E., Yates C. A., and Erban R., Bull. Math. Biol. 72, 719 (2009). 10.1007/s11538-009-9467-x [DOI] [PubMed] [Google Scholar]
- 23.Yates C. A., J. Theor. Biol. 350, 37 (2014). 10.1016/j.jtbi.2014.01.041 [DOI] [PubMed] [Google Scholar]
- 24.Yates C. A., Baker R. E., Erban R., and Maini P. K., Phys. Rev. E 86, 021921 (2012). 10.1103/PhysRevE.86.021921 [DOI] [PubMed] [Google Scholar]
- 25.Drawert B., Engblom S., and Hellander A., BMC Syst. Biol. 6, 1 (2012). 10.1186/1752-0509-6-76 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Jilkine A., Angenent S. B., Wu L. F., and Altschuler S. J., PLoS Comput. Biol. 7, e1002271 (2011). 10.1371/journal.pcbi.1002271 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Gardiner C. W. et al. , Handbook of Stochastic Methods (Springer Berlin, 1985) Vol.3. [Google Scholar]
- 28.Gillespie D. T., J. Comput. Phys. 22, 403 (1976). 10.1016/0021-9991(76)90041-3 [DOI] [Google Scholar]
- 29.Gibson M. A. and Bruck J., J. Phys. Chem. A 104, 1876 (2000). 10.1021/jp993732q [DOI] [Google Scholar]
- 30.Drawert B., Trogdon M., Toor S., Petzold L., and Hellander A., SIAM J. Sci. Computing 38, C179 (2016). 10.1137/15M1014784 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Engblom S., Ferm L., Hellander A., and Lötstedt P., SIAM J. Sci. Computing 31, 1774 (2009). 10.1137/080721388 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Logg A. and Wells G. N., ACM Trans. Math. Software 37, 20 (2010). 10.1145/1731022.1731030 [DOI] [Google Scholar]
- 33.Klünder B., Freisinger T., Wedlich-Söldner R., and Frey E., PLoS Comput. Biol. 9, e1003396 (2013). 10.1371/journal.pcbi.1003396 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Moore T. I., Chou C.-S., Nie Q., Jeon N. L., and Yi T.-M., PLoS One 3, e3865 (2008). 10.1371/journal.pone.0003865 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Yi T.-M., Kitano H., and Simon M. I., Proc. Natl. Acad. Sci. 100, 10764 (2003). 10.1073/pnas.1834247100 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Drawert B., Lawson M. J., Petzold L., and Khammash M., J. Chem. Phys. 132, 074101 (2010). 10.1063/1.3310809 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Goryachev A. B. and Pokhilko A. V., FEBS Lett. 582, 1437 (2008). 10.1016/j.febslet.2008.03.029 [DOI] [PubMed] [Google Scholar]
- 38.Lawson M. J., Drawert B., Khammash M., Petzold L., and Yi T.-M., PLoS Comput. Biol. 9, e1003139 (2013). 10.1371/journal.pcbi.1003139 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Swaminathan R., Hoang C. P., and Verkman A., Biophys. J. 72, 1900 (1997). 10.1016/S0006-3495(97)78835-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Chou C.-S., Bardwell L., Nie Q., and Yi T.-M., BMC Syst. Biol. 5, 196 (2011). 10.1186/1752-0509-5-196 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Smoluchowski M. v., Z. Phys. Chemie 92, 129 (1917). [Google Scholar]
- 42.Hellander S. and Lötstedt P., J. Comput. Phys. 230, 3948 (2011). 10.1016/j.jcp.2011.02.020 [DOI] [Google Scholar]
- 43.Hellander S. and Petzold L. R., Phys. Rev. E 93, 013307 (2015). 10.1103/PhysRevE.93.013307 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Hellander S., Hellander A., and Petzold L. R., Phys. Rev. E 85, 042901 (2012). 10.1103/PhysRevE.85.042901 [DOI] [PubMed] [Google Scholar]
- 45.Hellander S., Hellander A., and Petzold L. R., Phys. Rev. E 91, 023312 (2015). 10.1103/PhysRevE.91.023312 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Montroll E. W. and Weiss G. H., J. Math. Phys. 6, 167 (1965). 10.1063/1.1704269 [DOI] [Google Scholar]
- 47.Montroll E. W., J. Math. Phys. 10, 753 (1969). 10.1063/1.1664902 [DOI] [Google Scholar]
- 48.Fange D., Berg O. G., Sjöberg P., and Elf J., Proc. Natl. Acad. Sci. U. S. A. 107, 19820 (2010). 10.1073/pnas.1006565107 [DOI] [PMC free article] [PubMed] [Google Scholar]








