Team:Colombia/Modeling/Stochastic

From 2012.igem.org

(Difference between revisions)
(Stochastic Model)
 
(5 intermediate revisions not shown)
Line 7: Line 7:
<p align="justify">
<p align="justify">
-
The previous sections showed how to know the mean behavior of the system for one cell, but this is just an average of the total proteins within the cell. All the biological systems are controlled by probability events. The cell is a huge space where there are a lot of small molecules. If we want a biological process to happen, two of this molecules have to find themselves between million in a huge pool. Also, there is a possibility that a cell may need more concentration of a promoter’s activator while other may need less. The differential equations do not take into account these uncontrollable events that can change the response dramatically.  
+
The previous sections showed how to know the mean behavior of the system for one cell, but this is just an average of the total proteins within the cell. All the biological systems are controlled by probability events. The cell is a huge space where there are a lot of small molecules. If we want a biological process to happen, two of these molecules have to find each other among millions in a huge pool. The differential equations do not take into account these uncontrollable events that can change the response dramatically.  
<html>
<html>
Line 15: Line 15:
-
If we look only one cell, this may not behave like we want and the system may not respond. Even worse, the probability of dying exist and our cell may die.  But dealing with one cell is not real and we always work with hundreds of cells. Within this population, some cells may not behave as expected but others will and the average of cells would be able to respond to the presence of the pest.
+
If we look only at one cell, it may not behave like we want and the system may not respond. Even worse, the probability of dying exist and our cell may die.  But dealing with one cell is not real and we always work with hundreds of cells. Within this population, some cells may not behave as expected but others will and the average of cells would be able to respond to the presence of the pest.
<html>
<html>
Line 23: Line 23:
-
The stochastic algorithms are a way to model these probability events within a population.  This simulation are made in order to confirm that the system dynamics are robust, consistent and show us if the response is still behaving like we want (taking probabilities considerations). We use the Gillespie algorithm to develop our model. Here is a brief explanation of how it works:  
+
The stochastic algorithms are a way to model these probability events within a population.  This simulation is made in order to confirm that the system dynamics are robust, consistent and show us if the response is still behaving like we want (taking probabilities into consideration). We use the Gillespie algorithm to develop our model. Here is a brief explanation of how it works:  
The complete method consists of eight steps.
The complete method consists of eight steps.
Line 33: Line 33:
::#Define the number of cells.
::#Define the number of cells.
-
::#Define the time of the simulation
+
::#Define the number of steps
::#Define and name all the constants involved.
::#Define and name all the constants involved.
-
::#Define creation and destruction expression for each substance involved: The differential equations in this part have to be divided in two, the creation and the destruction expression.  
+
::#Define creation and destruction events for each substance involved: The differential equations in this part have to be divided in two, the creation and the destruction expression.  
-
::#Apply Gilliespie algorithm:
+
::#Apply [http://www.annualreviews.org/doi/pdf/10.1146/annurev.physchem.58.032806.104637 Gilliespie algorithm:]
<html>
<html>
Line 53: Line 53:
:::•Calculate time distribution that depends on a random number between 0 and 1.
:::•Calculate time distribution that depends on a random number between 0 and 1.
 +
 +
<html>
 +
<br>
 +
</br>
 +
</html>
 +
[[File:sampspa1.png|center|600x200pxpx]]
[[File:sampspa1.png|center|600x200pxpx]]
Line 61: Line 67:
</html>
</html>
-
:::•Calculate which event occurs: The Gillespie algorithm does not consider simultaneous events, this is that in each time only one event occurs. In this case, the events are the creation or destruction of one protein. Each event has a probability of occurrence within the sample space  between 0 and 1.  To know which event occurs at the time "t+1", we take into account the random number use for the time distribution and look for the event that has this probability of occurrence . For example, if you see the sample space figure below, there are 5 possible events with their probability; if the random number is 0.4 then A is going to be destructed but if the random number is 0.55. then B will be created.  [[File:sampspa2.png|center|500x300pxpx]]
+
:::•Calculate which event occurs: The Gillespie algorithm does not consider simultaneous events, this is that in each time only one event occurs. In this case, the events are the creation or destruction of one protein. Each event has a probability of occurrence within the sample space  between 0 and 1.  To know which event occurs at the time "t+1", we take into account the random number use for the time distribution and look for the event that has this probability of occurrence . For example, if you see the sample space figure below, there are 5 possible events with their probability; if the random number is 0.4 then A is going to be destructed but if the random number is 0.55. then B will be created.   
-
::#Take the outputs from the simulation and convert them into regular interval vectors.
+
 
-
::#Obtain the Gillespie function mean values.
+
 
-
::#Plot the obtained functions.
+
<html>
 +
<br>
 +
</br>
 +
</html>
 +
 
 +
[[File:sampspa2.png|center|500x300pxpx]]
 +
 
 +
 
 +
<html>
 +
<br>
 +
</br>
 +
</html>
 +
 
 +
 
 +
::6. Take the outputs from the simulation and convert them into regular interval vectors.
 +
::7. Obtain the Gillespie function mean values.
 +
::8. Plot the obtained functions.
 +
We performed an stochastic simulation that shows that our system does not respond to high but short pulse of chitin, this kind of response is one of the desired characteristics.
</p>  
</p>  
</div>
</div>

Latest revision as of 04:04, 27 October 2012

Template:Https://2012.igem.org/User:Tabima

Stochastic Model

The previous sections showed how to know the mean behavior of the system for one cell, but this is just an average of the total proteins within the cell. All the biological systems are controlled by probability events. The cell is a huge space where there are a lot of small molecules. If we want a biological process to happen, two of these molecules have to find each other among millions in a huge pool. The differential equations do not take into account these uncontrollable events that can change the response dramatically.

If we look only at one cell, it may not behave like we want and the system may not respond. Even worse, the probability of dying exist and our cell may die. But dealing with one cell is not real and we always work with hundreds of cells. Within this population, some cells may not behave as expected but others will and the average of cells would be able to respond to the presence of the pest.

The stochastic algorithms are a way to model these probability events within a population. This simulation is made in order to confirm that the system dynamics are robust, consistent and show us if the response is still behaving like we want (taking probabilities into consideration). We use the Gillespie algorithm to develop our model. Here is a brief explanation of how it works: The complete method consists of eight steps.

  1. Define the number of cells.
  2. Define the number of steps
  3. Define and name all the constants involved.
  4. Define creation and destruction events for each substance involved: The differential equations in this part have to be divided in two, the creation and the destruction expression.
  5. Apply [http://www.annualreviews.org/doi/pdf/10.1146/annurev.physchem.58.032806.104637 Gilliespie algorithm:]


• Calculate the sample space of the analyzed system: This is the sum of all the changes presented at specific time "t".
Sampspa.png



•Calculate time distribution that depends on a random number between 0 and 1.




Sampspa1.png



•Calculate which event occurs: The Gillespie algorithm does not consider simultaneous events, this is that in each time only one event occurs. In this case, the events are the creation or destruction of one protein. Each event has a probability of occurrence within the sample space between 0 and 1. To know which event occurs at the time "t+1", we take into account the random number use for the time distribution and look for the event that has this probability of occurrence . For example, if you see the sample space figure below, there are 5 possible events with their probability; if the random number is 0.4 then A is going to be destructed but if the random number is 0.55. then B will be created.




Sampspa2.png





6. Take the outputs from the simulation and convert them into regular interval vectors.
7. Obtain the Gillespie function mean values.
8. Plot the obtained functions.

We performed an stochastic simulation that shows that our system does not respond to high but short pulse of chitin, this kind of response is one of the desired characteristics.