Team:Yale/Modeling
From 2013.igem.org
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:
- 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 “[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.