Skip to content

About

GEM Inspector is a tool to investigate, asses quality, and debug genome-scale metabolic models.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

GEM Inspector

Project page License: MIT

GEM Inspector is a browser-based toolkit for inspecting, diagnosing and debugging genome-scale metabolic models (GEMs). It is built on COBRApy and runs locally. It is designed around inspection rather than repair: it locates problems, classifies them, shows the evidence and leaves the correction to the curator.

Read the Docs: installation and solver set-up, user guide, methods, and comparison with existing tools.

GEM Inspector is under active development. Feedback, bug reports and suggestions are welcome: open an issue or write to ic43006@imail.iitm.ac.in.

What it does

Module Contents
Overview Model statistics, linked metabolite, reaction and gene tables, objective, applied medium, and MEMOTE quality report and more...
Diagnostics Minimal medium, exchange essentiality, network gaps, demand/sink audits, reaction balance with an audit, biomass precursor producibility, and a FROG-style reproducibility report and more...
Debugging Exchange debugging, an active-flux pathway tracer (editable cofactor list, compartment view, before/after knockout comparison) and pairwise model comparison...
Annotation and translation Identifier namespace detection, annotation coverage, SEED to VMH translation and translation through MetaNetX...
Reports Self-contained HTML reports from any selection of analyses, CSV exports, and a side-by-side comparison of two to five models as HTML and ...

Supported model formats: SBML (also compressed), JSON, YAML and MATLAB. See the user guide for details of each analysis.

Quick start

Requires Python 3.10 or later.

# macOS / Linux
chmod +x run.sh && ./run.sh

# Windows
run.bat

The launcher creates a virtual environment, installs requirements.txt and starts the application at http://127.0.0.1:5000.

Solvers and cores

GLPK is installed by default. Gurobi or CPLEX (licence required) and HiGHS are detected at start-up:

python app.py --solver gurobi --threads 8 --processes 4

The same settings are available as the environment variables GEM_SOLVER, GEM_THREADS and GEM_PROCESSES. See Solvers and computing resources for the options and for CPU and memory guidance.

Docker

docker build -t gem-inspector .
docker run -p 8080:8080 gem-inspector

The image runs gunicorn with a single worker (loaded models are cached in memory) and sets GEM_HOSTED=1, which disables saving reports to a server path. The application has no authentication; put it behind an authenticating proxy before exposing it. See Running and deploying.

Citation

GEM Inspector does not have a paper yet. If you use it, please cite this repository (GitHub's Cite this repository button, top right).

Learn more

Licence and acknowledgements

Released under the MIT licence. GEM Inspector builds on COBRApy, MEMOTE, SciPy (HiGHS) and Cytoscape.js, and was developed with the assistance of Claude (Anthropic).

Developed by Sabdhayini K B, Computational Systems Biology Lab, Indian Institute of Technology Madras.

About

GEM Inspector is a tool to investigate, asses quality, and debug genome-scale metabolic models.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages