What problem does it solve?
COBRApy streamlines constraint-based metabolic modeling so researchers can predict growth rates, evaluate pathway usage, and test genetic or environmental interventions without manual model tinkering.
Core Features & Use Cases
- Model management and I/O: load and save SBML, JSON, and YAML genome-scale models.
- Flux simulations: run flux balance analysis (FBA), parsimonious and geometric FBA, and change objectives.
- Uncertainty and breadth analysis: flux variability analysis (FVA), loopless FVA, and flux sampling (OptGP, ACHR).
- Perturbation screens: single/double gene and reaction deletions, knockout screens, and production strain design.
- Media and production analysis: minimal media computation, production envelopes, and gapfilling with universal models.
- Use case: screen all single-gene knockouts to identify essential genes and generate a ranked list of candidates for strain engineering.
Quick Start
Load the ecoli model and run flux balance analysis to report the growth rate and list fluxes with magnitude greater than 1e-6.