0 at every flux

32 views
Skip to first unread message

Simon DeMontardy

unread,
Apr 7, 2025, 6:04:15 AMApr 7
to cobra pie
Hi, i am trying to do a fba on the hepatic system using cobrapy, however whatsoever i am doing on the code i always get 0 on every flux, i was wondering if this is a common mistake, a bad implementation, my package or else. If anyone could help me or could send me an example of a functional fba so i could understand how to code it. thanks for you answers .

théo BRUNET

unread,
Apr 7, 2025, 6:14:00 AMApr 7
to cobra pie
Hi, it seems to me that the issue might be with your model, perhaps a metabolite that can't be produced or something along those lines

To confirm if your implementation is correct you can use the cobrapy test model with:

import cobra
from cobra.io import load_model

model = load_model("textbook")
model.optimize()
Reply all
Reply to author
Forward
0 new messages