Replies: 2 comments 13 replies
-
If you run the following MATLAB code for the yeast-GEM repository root, this should give a functional model: initCobraToolbox(false)
cd ./code
model = loadYeastModel(); % loading
cd otherChanges\
modelAnaerobic = anaerobicModel(model);
optimizeCbModel(modelAnaerobic)
model1 = changeRxnBounds(modelAnaerobic,'r_1714',6.240241765,'u');
model1 = changeObjective(model1,'r_2111',1);
sol=optimizeCbModel(model1,'max');
printFluxes(model1,sol.x) However, note that you're using a mixture of RAVEN and COBRA functions ( |
Beta Was this translation helpful? Give feedback.
-
Hi, @jiuia
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone! Now I'm confused because I don't understand how to use Y8GEM to calculate FBA under anaerobic conditions. Yes, I ran this code “/otherChanges/anaerobicModel” and got the anaerobic model(Anaerobic_y8.mat). The problem now is that when I run this code("Anaerobic_y8.mat"), the program keeps reporting errors.
like that <
model1=load('Anaerobic_y8.mat');
model1 = changeRxnBounds(model1,'r_1714',6.240241765,'u');
model1 = changeObjective(model1,'r_2111',1);
sol = optimizeCbModel(model1,'max');
printFluxes(model1,sol.x)
errors:
errors1 "Reference to a non-existent field 'rxns'.
Error setParam (line 49):index=find(strcmp(rxnList{i},model.rxns),1);
errors2 changeRxnBounds (line 33)
rxnID = findRxnIDs(model,rxnNameList);
errors3 (line 2)
model1 = changeRxnBounds(model1,'r_1714',6.240241765,'u');
Does anyone know how to solve this problem please?
Beta Was this translation helpful? Give feedback.
All reactions