Team:NTU-Singapore/Modelling/Stochastic Modeling

From 2008.igem.org

(Difference between revisions)
Line 140: Line 140:
</div>
</div>
 +
<br><br>
 +
<html>
 +
<script language=Javascript1.2>
 +
<!--
 +
 +
var tags_before_clock = "<b>It is now "
 +
var tags_middle_clock = "on"
 +
var tags_after_clock  = "</b>"
 +
 +
if(navigator.appName == "Netscape") {
 +
document.write('<layer id="clock"></layer><br>');
 +
}
 +
 +
if (navigator.appVersion.indexOf("MSIE") != -1){
 +
document.write('<span id="clock"></span>');
 +
}
 +
 +
DaysofWeek = new Array()
 +
  DaysofWeek[0]="Sunday"
 +
  DaysofWeek[1]="Monday"
 +
  DaysofWeek[2]="Tuesday"
 +
  DaysofWeek[3]="Wednesday"
 +
  DaysofWeek[4]="Thursday"
 +
  DaysofWeek[5]="Friday"
 +
  DaysofWeek[6]="Saturday"
 +
 +
Months = new Array()
 +
  Months[0]="January"
 +
  Months[1]="February"
 +
  Months[2]="March"
 +
  Months[3]="April"
 +
  Months[4]="May"
 +
  Months[5]="June"
 +
  Months[6]="July"
 +
  Months[7]="August"
 +
  Months[8]="September"
 +
  Months[9]="October"
 +
  Months[10]="November"
 +
  Months[11]="December"
 +
 +
function upclock(){
 +
var dte = new Date();
 +
var hrs = dte.getHours();
 +
var min = dte.getMinutes();
 +
var sec = dte.getSeconds();
 +
var day = DaysofWeek[dte.getDay()]
 +
var date = dte.getDate()
 +
var month = Months[dte.getMonth()]
 +
var year = dte.getFullYear()
 +
 +
var col = ":";
 +
var spc = " ";
 +
var com = ",";
 +
var apm;
 +
 +
if (date == 1 || date == 21 || date == 31)
 +
  {ender = "<sup>st</sup>"}
 +
else
 +
if (date == 2 || date == 22)
 +
  {ender = "<sup>nd</sup>"}
 +
else
 +
if (date == 3 || date == 23)
 +
  {ender = "<sup>rd</sup>"}
 +
 +
else
 +
  {ender = "<sup>th</sup>"}
 +
 +
if (12 < hrs) {
 +
apm="<font size='-1'>pm</font>";
 +
hrs-=12;
 +
}
 +
 +
else {
 +
apm="<font size='-1'>am</font>";
 +
}
 +
 +
if (hrs == 0) hrs=12;
 +
if (hrs<=9) hrs="0"+hrs;
 +
if (min<=9) min="0"+min;
 +
if (sec<=9) sec="0"+sec;
 +
 +
if(navigator.appName == "Netscape") {
 +
document.clock.document.write(tags_before_clock+hrs+col+min+col+sec+apm+spc+tags_middle_clock+spc+day+com+spc+date+ender+spc+month+com+spc+year+tags_after_clock);
 +
document.clock.document.close();
 +
}
 +
 +
if (navigator.appVersion.indexOf("MSIE") != -1){
 +
clock.innerHTML = tags_before_clock+hrs+col+min+col+sec+apm+spc+tags_middle_clock+spc+day+com+spc+date+ender+spc+month+com+spc+year+tags_after_clock;
 +
}
 +
}
 +
 +
setInterval("upclock()",1000);
 +
//-->
 +
</script>
 +
</html>

Revision as of 05:46, 27 October 2008


Contents

Stochastic Modeling

Preliminary Run

Cellware Constitutive transcription model
Cellware Constitutive transcription results

This model was generated using the program [http://www.cellware.org/index.html CellWare]. The above model was simulated using a Hybrid ODE solver that uses both deterministic and stochastic solvers. Work is now being done to see if this program can be used to build and simulate our systems.

All models below have been created using Cellware. [http://x.amath.unc.edu:16080/BioNetS/ Bionets2] is another option but we would first explore the use of the former program. The outputs are exported to MATLAB for plotting and visualisation.

Stochastic models using Gillispie Algorithm do not seem to work well as they seem to require a lot of computing power. Hybrid Stochastic ODEs seems to work better but the accuracy of the results seems to be compromised.

It is advised that the viewer observe the trends rather than the actual values given in the models. The modeling results would give us more of an idea of how the system would react rather than tell us exactly how much of a particular protein would be expressed. We hope that by doing this modeling exercise, we can learn more about our system.

Stochastic Model For E7 + Imm Production

Cellware E7 production System

The above image shows the model that was used in Cellware for the 1st System.
The Purple Rectangles represent the DNA.
The Green Rectangles represent the mRNA.
The Pink Diamonds represent the Protein.
The Red Concentric Circles represent a certain reaction (Mass Action Reactions only, since its a requirement for Stochastic simulations)
The Purple Full Circles represented degradation of a particular substance.

Unlike the previous Simulink deterministic models, Cellware does not allow the user to inject certain variables at stipulated times. Therefore, the model shows inoculation of Lactose at the VERY START of the simulation. This is equivalent to exposing a newly divided cell to an environment of lactose rather than allowing it time to reach a certain steady state for its constitutive proteins. Nevertheless, we hope that the model can still allow us some insights into the system.

Parameter Deterministic(m/l) Stochastic(No. of Molecules)
GA 28 28
GC 28 28
Lactose 10 10

Before we actually use the program to run any form of stochastic simulations, it would be necessary to check how its deterministic models would turn out. By varying the amount of Lactose input, a few graphs were obtained and they are as shown.

Cellware E7 production System Deterministic Models

The model shows that there are differences in the output when the Lactose is changed but they are not exactly significant. However the model still shows very similar behaviour to the model we had obtained using Simulink earlier.
Gillespie Model The stochastic modeling results are as shown and a total of 10 runs was done. The results are also compared to the Deterministic Modeling Output. One might then think that since the Deterministic Models produce results in concentrations while the Stochastic Models give their results in the number of molecules, the results are not actually the same. That is perfectly true. The reason for putting the results together is for a simple visualisation of the results. Again, it is stressed that the behaviour of the models are of greater importance, not the numerical values.

Cellware Gillespie model for E7 production system

The run was done with 10mM lactose induction. As seen, the model is simple and the stochastic model produces results that are close to the deterministic model.

Gibson Next Reaction Method

Cellware Gibson Next Reaction method for E7 production system

Stochastic Model For Lysis Production

Preliminary Lysis System Production

Cellware Models for Preliminary Lysis Production

As discussed beforein the deterministic modeling section, a preliminary lysis system was introduced and a model was built to see how the results would turn out.

Cellware Gillespie model for Preliminary Lysis System (Single Run)

Cellware Gillespie model for Preliminary Lysis System

As seen, the Lysis production modeled using the Gillespie model after 10 runs show that the Lysis production would tend to a steady state after some time.


AND gate Lysis Production

Cellware model for Lysis production system

The above diagram shows how we have modeled the Lysis Production system in Cellware. Again the legend is the same as the first E7 production system. We would also like to see how the Deterministic models turn out. The results are as shown.

Parameter Deterministic(m/l) Stochastic(No. of Molecules)
GC 85 10
GD 85 10
GE 85 10
GF 85 10
Ai-2(Present) 238 28
Ai-2(Not Present) 0 0
Fe(Present) 130.05 15.3
Fe (Not Present) 127.5 15
Cellware Lysis Production System Deterministic Models

As we can see, a very similar outcome is observed as compared to the model we had obtained in Simulink. The difference in the Lysis protein output under the conditions that Ai-2 is present alone and when Iron and Ai-2 is present is not very pronounced. Gillespie Model For the Stochastic model, the number of molecules are also a guess and more work has to be done is refining the parameters. Presented here is the initial results for the condition that both Ai-2 and iron ions are present, thereby activating the and gate. The stochastic model results are also compared with the deterministic model.

Cellware Gillespie model for Lysis production system

A total of 10 runs was done to observe the results. As expected, the random nature of the algorithm will give unique results for each run. Although the variations here are much larger compared to the first system, the general trend is still similar.

Gibson Next Reaction Method

Cellware Gibson Next Reaction Method for Lysis Production System

Hybrid Model A run using the Hybrid Stochastic ODE solver was also done just to see how the results would vary. The model's basis is to introduce noise elements into the deterministic model and the solvers employ both deterministic ODE solvers and stochastic solvers. The result is as shown.

Cellware Hybrid model for Lysis production system

A total of 3 runs using the Hybrid ODE solver was done and the outputs were put together with the Deterministic Model for easy comaprison. The modeling results show the Hybrid model results don't vary much as they overlap one another. To fully appreciate the stochastic nature of the systems, the Gillispie Algorithm and other Stochastic Algorithms seem to be a better choice


Comparison of the 2 Lysis production system

For the sake of interest, we can see that the models also show that the Lysis production with AND gate has a slower response time to the preliminary Lysis production. The preliminary system can achieve the faster lysis of the cell, but again, fails in specificity.

Updates

Currently the Simulations for the Lysis Production system tend to terminate prematurely at time = 70 min. The reason is still unknown but it could be due to the fact that the system is much more complicated than the E7 production system. Work is still being done to see if more models can be generated using Cellware. The program is generally easy to manipulate and the interface is quite user-friendly. If you have any comments on how our modeling exercise can be improved, don't hesitate to leave us an email . All contributions will be acknowledged by our team.