C-CoMP-STC / mit1002-cue-simulations

0 stars 0 forks source link

Use COBRApy c-flux #19

Closed hgscott closed 1 year ago

hgscott commented 1 year ago

When you run model.summary() in COBRApy, you are given the carbon fluxes for the different exchange reactions. What function are those values coming from? Can I call that somehow rather than calculating it myself? Examples from the E. coli model: Image

Image

hgscott commented 1 year ago

These are the lines generating the carbon flux information in the summary: https://github.com/opencobra/cobrapy/blob/93fb0e9a9c34d5ed7e71c35009b12c3784bac60c/src/cobra/summary/model_summary.py#L244-L254

hgscott commented 1 year ago

These are the lines that determine if something is an uptake flux or a secretion flux: https://github.com/opencobra/cobrapy/blob/93fb0e9a9c34d5ed7e71c35009b12c3784bac60c/src/cobra/summary/model_summary.py#L244-L254