Skip to main content

Test and deploy codecov PyPI version

A QIIME 2 plugin for MICOM.

Installation

You will need an existing QIIME 2 environment. Follow the instructions on (how to install QIIME 2) otherwise. q2-micom is compatible with all QIIME 2 distributions. Let's assume that environment was called qiime2-2024.2 for all further steps.

Add q2-micom to the QIIME 2 environment

This will be the same step for any supported QIIME 2 version but will vary depending on your operating system (similar to the normal QIIME 2 installation).

wget https://raw.githubusercontent.com/micom-dev/q2-micom/main/q2-micom.yml
conda env update -n qiime2-2024.2 -f q2-micom.yml
# OPTIONAL CLEANUP
rm q2-micom-*.yml

Finally, you activate your environment.

conda activate qiime2-2024.2

q2-micom will now install an open source solver that can be used with MICOM. If you use MICOM regularly we do recommend to obtain an academic license for CPLEX or Gurobi which will be faster.

CPLEX

QIIME 2 versions before 2021.4 are only compatible with CPLEX 12.10 or earlier (later version require at least Python 3.7).

After registering and downloading the CPLEX studio for your OS unpack it (by running the provided installer) to a directory of your choice (we will assume it's called ibm).

Now install the CPLEX python package into your activated environment:

pip install ibm/cplex/python/3.8/x86-64_linux

Substitute 3.8 with the Python version in your QIIME 2 environment, 3.6 for QIIME 2 up to 2021.2 and 3.8 for QIIME 2 2021.4 and newer. Substitute x86-64_linux with the folder corresponding to your system (there will only be one subfolder in that directory).

Gurobi

Gurobi can be installed with conda.

conda install -c gurobi gurobi

You will now have to register the installation using your license key.

grbgetkey YOUR-LICENSE-KEY

Finish your installation

If you installed q2-micom in an already existing QIIME 2 environment, update the plugin cache:

conda activate qiime2-2024.2  # or whatever you called your environment
qiime dev refresh-cache

You are now ready to run q2-micom!

Usage

Here is a graphical overview of a q2-micom analysis.

The best way to get started is to work through the community tutorial.

Supported QIIME 2 versions

q2-micom is tested against:

  1. the current QIIME 2 version
  2. the previous version

It should also work with

  1. the development version
    However, this may occasionally break. Check here for the current status.

References

MICOM: Metagenome-Scale Modeling To Infer Metabolic Interactions in the Gut Microbiota
Christian Diener, Sean M. Gibbons, Osbaldo Resendis-Antonio
mSystems 5:e00606-19
https://doi.org/10.1128/mSystems.00606-19

Metadata

Release files for q2-micom 0.16.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 q2-micom 0.16.0
File Size Uploaded
q2-micom-0.16.0.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for q2-micom 0.16.0
File Interpreter ABI Platform
q2_micom-0.16.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.7 kB

Release files / q2-micom-0.16.0.tar.gz

Download URL q2-micom-0.16.0.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bd5ed7f2e9c805abb597d3b12f61f6ad7623d39e9a98b32b02b0b6681472cd83
BLAKE2b-256 checksum
How to use checksums
deae27e90ebe531fd3dd04f8904633e4940c99df3d96459e33a67fe50294b56c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release files / q2_micom-0.16.0-py3-none-any.whl

Download URL q2_micom-0.16.0-py3-none-any.whl
Size 29.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c2fb01c754e4899dad49c3c4f8536c60d0193eccce8370857ffa18d35719b52
BLAKE2b-256 checksum
How to use checksums
18ac09bac971015ad48f7dc9e67fb68bad125a0b8f7a11a9292916d160e4fdf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.16.0 This release

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.2

2 release files

0.13.0

2 release files

0.12.6

2 release files

0.12.0

2 release files

0.11.3

2 release files

0.11.2

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.3

1 release file

0.6.2

1 release file

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