Team:Alberta/Project/Modeling/start

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
-
%start.m script
+
% start script
-
changeCobraSolver('glpk');  
+
 
-
model = readCbModel() %('Ec_iAF1260_flux1.xml')
+
changeCobraSolver('glpk'); %can use any solver that is supported
-
solution1 = optimizeCbModel(model, 'max', 'false', 'false');  
+
model = readCbModel() %('Ec_iAF1260_flux1.xml')
-
essgenes=cell(1)
+
solution1 = optimizeCbModel(model, 'max', 'false', 'false');
-
fValue = solution1.f
+
essgenes=cell(1)
-
startSays = 'Put your researched/suspected essential genes into essgenes for later comparison!'
+
InitialGrowthRate = solution1.f

Revision as of 00:22, 18 October 2009

% start script

changeCobraSolver('glpk'); %can use any solver that is supported model = readCbModel() %('Ec_iAF1260_flux1.xml') solution1 = optimizeCbModel(model, 'max', 'false', 'false'); essgenes=cell(1) InitialGrowthRate = solution1.f