Skip to main content

refineGEMs: a python package intended to help with the curation of genome-scale metabolic models (GEMS)

Project description

License: MIT Python Version from PEP 621 TOML Documentation Status GitHub release (with filter) GitHub last commit (branch) Repo Size GitHub all releases PyPI version PyPI - Format PyPI downloads
Zenodo DOI
Frontiers DOI

refineGEMs

refineGEMs is a python package intended to help with the curation of genome-scale metabolic models (GEMS).
The documentation can be found here.

Table of contents

  1. Overview
  2. Installation
  3. How to cite
  4. Repositories using refineGEMs

Overview

Currently refineGEMs can be used for the investigation of a GEM, it can complete the following tasks:

  • loading GEMs with COBRApy and libSBML
  • report number of metabolites, reactions and genes
  • report orphaned, deadends and disconnected metabolites
  • report mass and charge unbalanced reactions
  • report Memote score
  • compare the genes present in the model to the genes found in:
    • the KEGG Database (Note: This requires the GFF file and the KEGG identifier of your organism.)
    • Or the BioCyc Database (Note: This requires that a database entry for your organism exists in BioCyc.)
  • compare the charges and masses of the metabolites present in the model to the charges and masses denoted in the ModelSEED Database.

Other applications of refineGEMs to curate a given model include:

  • The correction of a model created with CarveMe v1.5.1 or v1.5.2 (for example moving all relevant information from the notes to the annotation field or automatically annotating the GeneProduct section of the model with the respective NCBI gene/protein identifiers from the GeneProduct identifiers),
  • The addition of KEGG Pathways as Groups (using the libSBML Groups Plugin),
  • Updating the SBO-Term annotations based on SBOannotator,
  • Updating the annotation of metabolites and extending the model with reactions (for the purpose of filling gaps) based on a table filled by the user data/manual_annotations.xlsx (Note: This only works when the structure of the example Excel file is used.),
  • And extending the model with all information surrounding reactions including the corresponding GeneProducts and metabolites by filling in the table data/modelName_gapfill_analysis_date_example.xlsx (Note: This also only works when the structure of the example Excel file is used).

Installation

You can install refineGEMs via pip:

pip install refineGEMs

or to a local conda environment where refineGEMs is distributed via this GitHub repository and all dependencies are denoted in the pyproject.toml file:

# clone or pull the latest source code
git clone https://github.com/draeger-lab/refinegems.git
cd refinegems

conda create -n <EnvName> python=3.10 (or higher)

conda activate <EnvName>

# check that pip comes from <EnvName>
which pip

pip install .

refineGEMs depends on the tools MCC and BOFdat which cannot directly be installed via PyPI or the pyproject.toml. Please install both tools before using refineGEMs:

# For MCC, until hot fix is merged into main:
pip install "masschargecuration@git+https://github.com/Biomathsys/MassChargeCuration@installation-fix"

# For BOFdat, our fork with hot fix(es):
pip install "bofdat@git+https://github.com/draeger-lab/BOFdat"

How to cite

When using refineGEMs, please cite the latest publication:

Famke Bäuerle, Gwendolyn O. Döbel, Laura Camus, Simon Heilbronner, and Andreas Dräger. Genome-scale metabolic models consistently predict in vitro characteristics of Corynebacterium striatum. Front. Bioinform., oct 2023. doi:10.3389/fbinf.2023.1214074.

Repositories using refineGEMs

  • C_striatum_GEMs
  • draeger-lab/Shaemolyticus - private
  • draeger-lab/Ssanguinis - private

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

refinegems-2.0.0a1.tar.gz (7.4 MB view details)

Uploaded Source

Built Distribution

refineGEMs-2.0.0a1-py3-none-any.whl (7.4 MB view details)

Uploaded Python 3

File details

Details for the file refinegems-2.0.0a1.tar.gz.

File metadata

  • Download URL: refinegems-2.0.0a1.tar.gz
  • Upload date:
  • Size: 7.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for refinegems-2.0.0a1.tar.gz
Algorithm Hash digest
SHA256 dd75167439793c0d84baeadd7de60e49ab4cb664a0e7c9d744e2de24bd51a721
MD5 382d33fc19fe551a02d2b768bbfd2bc4
BLAKE2b-256 afc6b033706ecd2f624dac45d6a00b4d5b807004a282dac4e068f6695d5beb30

See more details on using hashes here.

File details

Details for the file refineGEMs-2.0.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for refineGEMs-2.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e4453413023c8605adbc61d0bc389c0e96006de16744f244e5f4a5b8177486e
MD5 f9555e5e19f803790b927f54894bfd24
BLAKE2b-256 dd8b061ee63b0fb62709527d2e4d372b3339bc0c690e51604527e8362bbf2b23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page