To cap the maximum growth rate in a COMETS model (after conversion from cobra), I want to set the maximum bound of the biomass function to a lower value, based off distance from optimal growth temperature.
iYO844 = c.model("/projectnb2/talbot-lab-data/metabolic_models/curated_models/iYO844/bigg_iYO844.COBRA-sbml3.xml")
iYO844_copy = copy.deepcopy(iYO844)
obj_id = iYO844_copy.objective
rxn_names = iYO844_copy.get_reaction_names()
obj_rxn = rxn_names[obj_id-1]
iYO844_copy.change_bounds(obj_rxn, 0, new_max_growth)
iYO844_copy.id="bigg_iYO844_copy"
# ....set initial populations, parameters, add both models to layout, run simulation....
params.set_param('timeStep', 2) # in hours
params.set_param('spaceWidth', .1) # one cell = one cm3
And the results look ok, but I'm wondering if the max flux rates are dependent on the timestep and cell size, or if there's anything else I should be considering here?
Thanks!
To cap the maximum growth rate in a COMETS model (after conversion from cobra), I want to set the maximum bound of the biomass function to a lower value, based off distance from optimal growth temperature.
In cobra, checking the output is simple:
In COMETS, this is my approach:
And the results look ok, but I'm wondering if the max flux rates are dependent on the timestep and cell size, or if there's anything else I should be considering here?
Thanks!