Skip to content

Objective for individual community strains #21

Answered by cdiener
jmol0917 asked this question in Q&A
Discussion options

You must be logged in to vote

It's possible, however, I would not recommend using cooperative tradeoff in that case. ctFBA is only valid for growth rates. If you want to optimize growth and the production of a particular metabolite at the same time the recommended strategy would be to first run ctFBA and then maximize the target reaction while maintaining the obtained growth rates.

For instance:

from micom.data import test_taxonomy
from micom.util import _apply_min_growth
from micom import Community

tax = test_taxonomy()
com = Community(tax)
sol = com.cooperative_tradeoff()
with com:
    _apply_min_growth(com, sol.members.growth_rate.drop("medium"))
    com.objective = com.reactions.EX_ac_e__Escherichia_coli_1
    ac…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jmol0917
Comment options

@sankarmaheshr
Comment options

Answer selected by cdiener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants