Skip to main content
https://github.com/jdtibochab/coralme/blob/main/docs/logo.png Current PyPI Version Supported Python Versions

The COmprehensive Reconstruction ALgorithm for ME-models (coralME) is an automatic pipeline for the reconstruction of ME-models. coralME integrates existing ME-modeling packages COBRAme, ECOLIme, and solveME, generalizes their functions for implementation on any prokaryote, and processes readily available organism-specific inputs for the automatic generation of a working ME-model.

coralME has four main objectives:

  1. Synchronize input files to remove contradictory entries.

  2. Complement input files from homology with a template organism to complete the E-matrix.

  3. Reconstruct a ME-model.

  4. Troubleshoot the ME-model to make it functional.

Getting started

With an existing M-model file (JSON or XML) and a corresponding genome GenBank file, run (only > v1.1.12)

coralme --m-model-path PATH_TO_M_MODEL --genbank-path PATH_TO_GENBANK_FILE

To get help:

coralme --help

For more usage information, go to Tutorials.

Installation

Install using pip

  1. pip install coralme

Install locally

  1. Clone repository and navigate to coralme/.

  2. pip install -r requirements.txt

  3. python3 setup.py clean build install

Install using docker (tested on Ubuntu 22.04)

  1. Clone repository and navigate to coralme/

  2. docker build --file "./Dockerfile-Python3.10" . -t "python3.10-coralme"

  3. docker run --detach -p 10000:8888 -v USER/PATH/TO/coralme/:/opt/notebooks/ python3.10-coralme

  4. In your browser, go to localhost:10000

Install using docker (to run MINOS and quad MINOS for Apple Silicon)

  1. Install OrbStack (Docker Desktop alternative - recommended because it automatically uses Rosetta for AMD images).

  2. Clone repository and navigate to coralme/.

  3. docker buildx create --name multiarch --use

  4. docker buildx build --platform linux/amd64 --file "./Dockerfile-Python3.10" . -t "python3.10-coralme:amd64" --load

  5. docker run --detach -p 10000:8888 -v USER/PATH/TO/coralme/:/opt/notebooks/ python3.10-coralme:amd64

  6. In your browser, go to localhost:10000

Requirements

coralME was tested with the following package versions:

  • Python3, versions 3.7, 3.8, 3.9, and 3.10

  • COBRApy version 0.26.3

  • GUROBIpy version 9.5.2 (license is required)

  • Ubuntu 22.04 is recommended (libgfortran.so.5 is required to execute MINOS and quad MINOS)

  • Windows and MacOS users need to install Gurobi or IBM CPLEX Optimizer. Alternatively, Windows users can install WSL and Ubuntu. Windows and MacOS users can use as well Docker Desktop to install it. We recommend the installation of Jupyter in the guest and its access through a browser from the host.

Compiled MINOS and quad MINOS are provided here as *.so files under coralme/solver, and have been compiled using:

  • Python3, versions 3.7.17, 3.8.20, 3.9.21, and 3.10.16

  • wheel 0.38.4

  • cython 0.29.32

  • numpy 1.21.6

Compiled MINOS and quad MINOS are provided here as *.so files under coralme/solver, and have been compiled using:

  • Python3, versions 3.11.11, 3.12.9, 3.13.2

  • wheel 0.43.0

  • cython 3.0.10

  • numpy 2.0.0

  • meson 1.8.0

  • ninja 1.11.1.4

Documentation

You can find the documentation as a combined PDF called coralME_Documentation.pdf

Development

The coralME package has been tested using the most recent package versions available for each python3 version, except for numpy

Package

Python 3.7

Python 3.8

Python 3.9

Python 3.10

Python 3.11

Python 3.12

cobra

0.28.0

0.29.0

0.29.0

0.29.0

0.29.0

0.29.0

numpy

1.21.6

1.24.4

1.26.4

1.26.4

2.0.1

2.0.1

scipy

1.7.3

1.10.1

1.13.1

1.14.0

1.14.0

1.14.0

pandas

1.3.5

2.0.3

2.2.2

2.2.2

2.2.2

2.2.2

sympy

1.10.1

1.13.1

1.13.1

1.13.1

1.13.1

1.13.1

anyconfig

0.13.0

0.14.0

0.14.0

0.14.0

0.14.0

0.14.0

Metadata

Release files for coralME 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coralME 1.2.0
File Size Uploaded Provenance Actions
coralme-1.2.0.tar.gz 18.0 MB Without provenance Details for coralme-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for coralME 1.2.0
File Interpreter ABI Platform Actions
coralme-1.2.0-py3-none-any.whl Python 3 none any Details for coralme-1.2.0-py3-none-any.whl

Total release size: 36.7 MB

Release files / coralme-1.2.0.tar.gz

Download URL coralme-1.2.0.tar.gz
Size 18.0 MB
Tags Source
SHA-256 checksum
How to use checksums
41dcbcac98e7465f8fdbf138afe686b7027fc1a197f308caa7a93ee0f77ea398
BLAKE2b-256 checksum
How to use checksums
be2f2cd990339a1de2de22555a3f5aca527ed4b580db63805cd95aa61ac5f835
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / coralme-1.2.0-py3-none-any.whl

Download URL coralme-1.2.0-py3-none-any.whl
Size 18.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4deabcb082057c508ad8a8ff63e31524a9d6a0adfffea472a993ed7421e136e6
BLAKE2b-256 checksum
How to use checksums
2f6515a246335164207adb2b624838e58d45106344baa9d1a9a698fb31d9370b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Security for coralME 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page