pipeGEM¶
pipeGEM provides Python and CLI workflows for working with genome-scale metabolic models. It wraps common model operations, expression-data integration, medium handling, metabolic tasks, flux analysis, and model comparison around COBRA models.
Where to start¶
- New installation: Installation
- First model workflow: Quickstart
- Notebook walkthroughs: Tutorials
- Task-oriented reference: User guide
- Python objects and functions: API reference
Common workflows¶
- Load a COBRA model with
pipeGEM.load_model. - Wrap it in
pipeGEM.Modelfor annotation, data, task, and analysis helpers. - Add gene expression data with
pipeGEM.data.GeneData. - Add medium constraints with
pipeGEM.data.MediumDataor the built-in medium catalog. - Run thresholding, model extraction, task testing, or flux analysis.
- Compare multiple models with
pipeGEM.Group.
What changed from the old docs?¶
The Sphinx documentation has moved to MkDocs Material. The old topics are still present, but the navigation is organized by workflow:
quickstart.htmlis now Getting Started > Quickstart.tutorial/index.htmlis now Tutorials.api/index.htmlis now API Reference.- Sphinx internals such as
genindex,modindex, and_sourcesare no longer generated.
The CLI examples now use the current subcommand form, such as pipeGEM template, pipeGEM process, and pipeGEM integrate. The old -n <pipeline> form remains available for compatibility but is deprecated.
Build these docs locally¶
The documentation build is driven by the doc optional dependency group in pyproject.toml:
uv run --extra doc mkdocs build --strict -d ./docs
Read the Docs uses the same command and publishes the generated HTML from its configured output directory.