introducing new media composition in the fba

29 views
Skip to first unread message

Annie M

unread,
Feb 23, 2025, 12:16:44 PMFeb 23
to cobra pie
I would like help on how to introduce a new media into the fba to test growth.
Also I would like help on how to run a comparison between my model predictions and experimental data.
Best,
Anny

Bruno Batista

unread,
Feb 25, 2025, 6:56:27 PMFeb 25
to cobra pie
  Hello Maisa,

you can check the medium using "model.medium".
If you are running it in python, you will see a dic with exchange reactions of metabolites like :

"{ EX_XX: 1000 , EX_compound: 1000}"

The medium is a constraints and you can insert another dict to your model as below:

medium_1 = {EX_metabolite_1: 1000 ,   EX_metabolite_ 2  : 1000}

medium_2 = {EX_metabolite_X: 1000 ,   EX_metabolite_ Y  : 1000}


model.medium = medium_1, run FBA and
model.medium = medium_2, run FBA again.

I think it will help you

best regards,
Bruno

Reply all
Reply to author
Forward
0 new messages