vivarium.library.cobra_fba module¶
-
class
vivarium.library.cobra_fba.
CobraFBA
(config={})[source]¶ Bases:
object
This class provides an interface to cobra FBA. It can load in BiGG models (http://bigg.ucsd.edu/models) if provided a model_path to a saved JSON BiGG model, or load in a novel model specified by stoichiometry, reversibility, and objective.
TODO (Eran) – MOMA option is provided, but has not yet been tested.
-
cobra_configuration
¶
-
read_exchange_fluxes
()[source]¶ removes the prefix from exchange reactions keys, leaving only the external molecule id
-
-
vivarium.library.cobra_fba.
build_model
(stoichiometry, reversible, objective, external_molecules, default_upper_bound=1000)[source]¶