alterlab-cobrapy

Featured

Build and analyze genome-scale constraint-based metabolic models with COBRApy — flux balance analysis (FBA), flux variability analysis (FVA), gene and reaction knockouts, flux sampling, and SBML model I/O. Use when simulating metabolic networks, predicting growth or knockout phenotypes, or running systems-biology and metabolic-engineering analyses on SBML genome-scale models. Part of the AlterLab Academic Skills suite.

AI & Automation 68 stars 13 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# COBRApy - Constraint-Based Reconstruction and Analysis ## Overview COBRApy is a Python library for constraint-based reconstruction and analysis (COBRA) of metabolic models, essential for systems biology research. Work with genome-scale metabolic models, perform computational simulations of cellular metabolism, conduct metabolic engineering analyses, and predict phenotypic behaviors. ## When to Use This Skill Use this skill when the user wants to: - Load a genome-scale metabolic model (SBML/JSON/YAML) and simulate growth with FBA/pFBA. - Predict knockout phenotypes, essential genes, or minimal media. - Explore flux space with FVA, flux sampling, or production envelopes. - Build, gapfill, or curate a constraint-based model. ### Does NOT Trigger | Scenario | Use Instead | |----------|-------------| | Looking up a pathway or reaction annotation rather than simulating | `alterlab-kegg`, `alterlab-reactome` | | Enzyme kinetic parameters (kcat, Km) for a reaction | `alterlab-brenda` | | Graph analysis of the metabolic network (centrality, communities) rather than flux | `alterlab-networkx` | | Metabolomics measurements and their identification | `alterlab-metabolomics-wb`, `alterlab-hmdb` | | Multi-objective optimization that is not a flux-balance problem | `alterlab-pymoo` | ## Installation and Requirements ```bash uv pip install cobra # 0.32.x as of 2026-09 uv pip install 'cobra[array]' # scipy extra, for array-based model handling uv pip install 'cobra[...

Details

Author
AlterLab-IEU
Repository
AlterLab-IEU/AlterLab-Academic-Skills
Created
6 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category