Team:Aberdeen Scotland/internal/stochastic
From 2009.igem.org
m (→Stochastic Simulations) |
(→Stochastic Simulations) |
||
Line 4: | Line 4: | ||
= Stochastic Simulations = | = Stochastic Simulations = | ||
- | Due to the low levels of proteins involved when the input signal is activated (LacI repression being lifted and the subsequent lifting of the repression of TetR that induces lysis) we decided to | + | Due to the low levels of proteins involved when the input signal is activated (LacI repression being lifted and the subsequent lifting of the repression of TetR that induces lysis) we decided to perform a stochastic simulation of the model to take into consideration stochastic effects not reproduced by the deterministic model. The method we chose was the “Tau Leap” model - as is it is quite computationally efficient and easy to integrate when a deterministic model has already been established. The method can be implemented by the following simple steps: |
- | 1. | + | 1. Choose a time, τ, which is large enough so that all reactions have a possibility of taking place, but small enough so that not too many reactions take place. This is the leap condition from [1]. |
- | 2. | + | 2. Generate a random number froma Poisson distribution with mean λ=ζ.τ |
+ | |||
+ | |||
+ | Create a Poisson random number generating script that accepts a number λ and outputs an integer distributed with a Poisson distribution around this number. | ||
3. Multiply each term in the deterministic equations by tau. | 3. Multiply each term in the deterministic equations by tau. | ||
Line 31: | Line 34: | ||
The three simulations with different tau timesteps work almost identically. We note however that increasing tau above 2 seconds can lead to some very strange behaviour which we will not show here. | The three simulations with different tau timesteps work almost identically. We note however that increasing tau above 2 seconds can lead to some very strange behaviour which we will not show here. | ||
+ | == References == | ||
+ | |||
+ | [1] Gillespie, | ||
{{:Team:Aberdeen_Scotland/break}} | {{:Team:Aberdeen_Scotland/break}} |
Revision as of 12:39, 14 August 2009
University of Aberdeen - Pico Plumber
Stochastic Simulations
Due to the low levels of proteins involved when the input signal is activated (LacI repression being lifted and the subsequent lifting of the repression of TetR that induces lysis) we decided to perform a stochastic simulation of the model to take into consideration stochastic effects not reproduced by the deterministic model. The method we chose was the “Tau Leap” model - as is it is quite computationally efficient and easy to integrate when a deterministic model has already been established. The method can be implemented by the following simple steps:
1. Choose a time, τ, which is large enough so that all reactions have a possibility of taking place, but small enough so that not too many reactions take place. This is the leap condition from [1].
2. Generate a random number froma Poisson distribution with mean λ=ζ.τ
Create a Poisson random number generating script that accepts a number λ and outputs an integer distributed with a Poisson distribution around this number.
3. Multiply each term in the deterministic equations by tau.
4. Assign the label λ to the new value of each term.
5. Input the value of λ into the Poisson random number generator
6. We have now replaced each term in the deterministic equations with an integer distributed around the value of the original term, so we simply add or subtract the integers from the old value of [X_t] to create [X_(t+tau)]
This process can be very fast computationally depending on the choice of tau. We ran several simulations to determine the dependence of the model and found that the choice was fairly arbitary when taken between ~0.01 seconds and ~1.5 seconds. However, the larger tau is, the quicker the simulation runs. We see the comparison between tau = 0.01 seconds, tau = 0.1 seconds and tau =1.5 seconds below.
The three simulations with different tau timesteps work almost identically. We note however that increasing tau above 2 seconds can lead to some very strange behaviour which we will not show here.
References
[1] Gillespie,