Team:Yale/Modeling

From 2013.igem.org

(Difference between revisions)
(Prototype team page)
(How to do flux balance analysis (FBA))
 
(4 intermediate revisions not shown)
Line 1: Line 1:
-
<!-- *** What falls between these lines is the Alert Box!  You can remove it from your pages once you have read and understood the alert *** -->
+
<div id="header">{{Template:Team:Yale2013/Templates/Header}}</div>
-
<html>
+
== How to do flux balance analysis (FBA) ==
-
<div id="box" style="width: 700px; margin-left: 137px; padding: 5px; border: 3px solid #000; background-color: #fe2b33;">
+
What you need to '''download''':<br>
-
<div id="template" style="text-align: center; font-weight: bold; font-size: large; color: #f6f6f6; padding: 5px;">
+
*[http://sourceforge.net/projects/opencobra/files/cobra/ COBRA] -- click the .zip file
-
This is a template page. READ THESE INSTRUCTIONS.
+
*[http://sourceforge.net/projects/sbml/files/SBMLToolbox/ SBML] -- click the 4.1.0 folder, then download its contents individually
-
</div>
+
**Also, read the Readme to go through installing libSBML through Matlab
-
<div id="instructions" style="text-align: center; font-weight: normal; font-size: small; color: #f6f6f6; padding: 5px;">
+
*[http://www.gurobi.com/ Gurobi] -- make a free account and then download it. Academic licenses are free.
-
You are provided with this team page template with which to start the iGEM season.  You may choose to personalize it to fit your team but keep the same "look." Or you may choose to take your team wiki to a different level and design your own wiki. You can find some examples <a href="https://2008.igem.org/Help:Template/Examples">HERE</a>.
+
*[http://systemsbiology.ucsd.edu/Downloads/EcoliCore E. coli core model] -- I think you need to download everything
-
</div>
+
*[http://www.nature.com/msb/journal/v7/n1/suppinfo/msb201165_S1.html#msb201165-s3 More complete model (more reactions)]
-
<div id="warning" style="text-align: center; font-weight: bold; font-size: small; color: #f6f6f6; padding: 5px;">
+
-
You <strong>MUST</strong>  have all of the pages listed in the menu below with the names specified. PLEASE keep all of your pages within your teams namespace.
+
-
</div>
+
-
</div>
+
-
</html>
+
-
<!-- *** End of the alert box *** -->
 
 +
For more '''comprehensive''' models (the core model is too simple), [http://bigg.ucsd.edu/bigg/exportSelect.pl click here]. These models have more reactions. You will get a .xml file. Use <html><pre>model=translateSBML</pre></html> in Matlab to load the xml file, then run <html><pre>model=convertSBMLToCobra(model)</pre></html> to convert into a cobra-compatible format.
-
{| style="color:#1b2c8a;background-color:#0c6;" cellpadding="3" cellspacing="1" border="1" bordercolor="#fff" width="62%" align="center"
 
-
!align="center"|[[Team:Yale|Home]]
 
-
!align="center"|[[Team:Yale/Team|Team]]
 
-
!align="center"|[https://igem.org/Team.cgi?year=2013&team_name=Yale Official Team Profile]
 
-
!align="center"|[[Team:Yale/Project|Project]]
 
-
!align="center"|[[Team:Yale/Parts|Parts Submitted to the Registry]]
 
-
!align="center"|[[Team:Yale/Modeling|Modeling]]
 
-
!align="center"|[[Team:Yale/Notebook|Notebook]]
 
-
!align="center"|[[Team:Yale/Safety|Safety]]
 
-
!align="center"|[[Team:Yale/Attributions|Attributions]]
 
-
|}
 
 +
'''Optimization''': once you’ve initialized your model, you probably want to change some reaction parameters. For example, <html><pre>model=changeRxnBounds(model,'EX_glc(e)',-4.46,'l')</pre></html> targets the reaction EX_glc(e), which is the glucose exchange rate. Specifically, it sets the lower bound of the reaction to a flux of 4.46 mmol/g DCW/h (negative sign indicates uptake).
 +
You should also change the objective function, the quantity to be maximized, using the <html><pre>changeObjective</pre></html> function; the default is biomass.
 +
To run the optimization given the reaction constraints (and gene deletions; see below), run <html><pre>optimizeCbModel(model,'max')</pre></html>
-
If you choose to include a '''Modeling''' page, please write about your modeling adventures here. This is not necessary but it may be a nice list to include.
+
 
 +
'''Deleting genes''':
 +
#Find the gene [http://bigg.ucsd.edu/bigg/main.pl here]; be sure to check the box corresponding to the correct model you’re using.
 +
#Open the GPR link (“text”), and you’ll get a boolean expression; delete any combination of genes such that the boolean expression’s result is false (I would delete all of them for good measure; in practice, you might consider deleting fewer, since more deletions might be more costly during implementation).
 +
#Assuming you have the model initialized in matlab, to delete a gene run <html><pre>[model,hasEffect,constrRxnNames,deletedGenes]=deleteModelGenes(model,'b3956',0)</pre></html> to delete gene b3956. You get four values out of the function, of which only the first one is important, but the other three could have useful information. For example, hasEffect is 1 or 0 depending on whether your gene deletion had an “effect”.
 +
 
 +
 
 +
'''[http://maranas.che.psu.edu/submission/optknock_2.htm Optknock]''' suggests gene deletions for increasing production of a given metabolite without significantly compromising growth rate. The website talks about the GAMS program to do the simulations, but we can’t get a license for it; fortunately, we can use Gurobi, which can be run on various programming platforms, including matlab. Try this basic [http://www.gurobi.com/documentation/5.5/quick-start-guide/node119 tutorial]. Gurobi also has some nice examples in the gurobi folder you downloaded.
 +
 
 +
 
 +
As of yet, we have not tried using Optknock for our application.

Latest revision as of 22:50, 27 September 2013

How to do flux balance analysis (FBA)

What you need to download:

  • [http://sourceforge.net/projects/opencobra/files/cobra/ COBRA] -- click the .zip file
  • [http://sourceforge.net/projects/sbml/files/SBMLToolbox/ SBML] -- click the 4.1.0 folder, then download its contents individually
    • Also, read the Readme to go through installing libSBML through Matlab
  • [http://www.gurobi.com/ Gurobi] -- make a free account and then download it. Academic licenses are free.
  • [http://systemsbiology.ucsd.edu/Downloads/EcoliCore E. coli core model] -- I think you need to download everything
  • [http://www.nature.com/msb/journal/v7/n1/suppinfo/msb201165_S1.html#msb201165-s3 More complete model (more reactions)]


For more comprehensive models (the core model is too simple), [http://bigg.ucsd.edu/bigg/exportSelect.pl click here]. These models have more reactions. You will get a .xml file. Use

model=translateSBML
in Matlab to load the xml file, then run
model=convertSBMLToCobra(model)
to convert into a cobra-compatible format.


Optimization: once you’ve initialized your model, you probably want to change some reaction parameters. For example,

model=changeRxnBounds(model,'EX_glc(e)',-4.46,'l')
targets the reaction EX_glc(e), which is the glucose exchange rate. Specifically, it sets the lower bound of the reaction to a flux of 4.46 mmol/g DCW/h (negative sign indicates uptake). You should also change the objective function, the quantity to be maximized, using the
changeObjective
function; the default is biomass. To run the optimization given the reaction constraints (and gene deletions; see below), run
optimizeCbModel(model,'max')


Deleting genes:

  1. Find the gene [http://bigg.ucsd.edu/bigg/main.pl here]; be sure to check the box corresponding to the correct model you’re using.
  2. Open the GPR link (“text”), and you’ll get a boolean expression; delete any combination of genes such that the boolean expression’s result is false (I would delete all of them for good measure; in practice, you might consider deleting fewer, since more deletions might be more costly during implementation).
  3. Assuming you have the model initialized in matlab, to delete a gene run
    [model,hasEffect,constrRxnNames,deletedGenes]=deleteModelGenes(model,'b3956',0)
    to delete gene b3956. You get four values out of the function, of which only the first one is important, but the other three could have useful information. For example, hasEffect is 1 or 0 depending on whether your gene deletion had an “effect”.


[http://maranas.che.psu.edu/submission/optknock_2.htm Optknock] suggests gene deletions for increasing production of a given metabolite without significantly compromising growth rate. The website talks about the GAMS program to do the simulations, but we can’t get a license for it; fortunately, we can use Gurobi, which can be run on various programming platforms, including matlab. Try this basic [http://www.gurobi.com/documentation/5.5/quick-start-guide/node119 tutorial]. Gurobi also has some nice examples in the gurobi folder you downloaded.


As of yet, we have not tried using Optknock for our application.