Cobra Run Envelope

cobra_run_envelope
verified Cobra cobra intent cobra
Production envelope / phenotypic phase plane: objective value (and optional product flux) vs carbon-source uptake over N points.

Parameters

NameTypeRequiredDescription
carbon_source string yes exchange reaction id of the carbon source
constraints object no per-call bounds: {reaction_id: [lb, ub]}
max_uptake number no
medium object no {exchange_id: positive uptake rate} (mmol/gDW/h). Merged onto the model's default medium: listed uptakes override, all other default uptakes stay open, 0 closes an exchange
medium_replace boolean no true = COBRApy replace semantics: exchanges not listed in medium are closed
model_id string yes bundled model id (e_coli_core, iML1515, iMM904, iCHOv1) or a session_model_id from cobra_load_model
objective string yes reaction id to maximise
points integer no
product string no optional exchange reaction id tracked per point
solver string no LP solver (default hybrid = HiGHS, MIT; glpk excluded: GPL-free image)

Examples

Production envelope / phenotypic phase plane: objective value (and optional product flux) vs carbon-source uptake over N points (declared example)

Prompt: “Production envelope / phenotypic phase plane: objective value (and optional product flux) vs carbon-source uptake over N points using cobra_run_envelope with arguments {"carbon_source": "EX_glc__D_e", "model_id": "e_coli_core", "objective": "EX_ac_e", "points": 5}”

Production envelope / phenotypic phase plane: objective value (and optional product flux) vs carbon-source uptake over N points (minimal call)

Prompt: “Call cobra_run_envelope and summarise the result.”

cobracobra_run_envelope