cobrapy

Constraint-based metabolic modeling with COBRApy for systems biology.

Install

See setup instructions on arxiv.org

What it does

This skill provides procedural guidance for constraint-based metabolic modeling with COBRApy, the Python package for reconstruction and analysis of metabolic networks. It is intended for systems biologists, metabolic engineers, and bioinformatics researchers who already work with genome-scale models and want a structured workflow for running common analyses.

The skill covers loading and validating SBML models, comparing flux balance analysis, parsimonious FBA, and flux variability analysis, running single-gene deletion screens, designing growth media, sampling the feasible flux space, computing production envelopes, and building or gap-filling networks. It also addresses exporting models to SBML, JSON, or YAML and troubleshooting infeasible solves.

It requires Python 3.9 or later plus the cobra package, typically installed with pip or uv; the open GLPK solver is available through swiglpk, while commercial solvers need separate installation and licensing. Plotting and sampling extras depend on additional packages, and downloading remote models needs network access, though bundled textbook examples run offline.

Limitations are stated plainly: FBA is a constraint-based prediction rather than a measurement of kinetic rates or experimental growth, feasible samples are not statistical confidence intervals, and gap-fill candidates remain hypotheses requiring evidence. No specific app integrations are included.

Skill files

  • SKILL.md

Repository data

Stars
58,239
Last push
Nov 23, 2026
License
MIT
Archived
No

Tools similar to cobrapy

FAQ

What license does cobrapy use?
MIT
What files are included with cobrapy?
SKILL.md

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/skills/cobrapy"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options