q2-micom


Nameq2-micom JSON
Version 0.13.2 PyPI version JSON
download
home_pagehttps://github.com/micom-dev/q2-micom
SummaryQIIME 2 plugin for metabolic modeling of microbial communities.
upload_time2024-04-19 12:43:16
maintainerNone
docs_urlNone
authorChristian Diener
requires_python>=3.6
licenseApache License 2.0
keywords microbiome modeling metabolism community
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <img src="https://github.com/micom-dev/q2-micom/raw/main/docs/assets/logo.png" width="75%">

[![Test and deploy](https://github.com/micom-dev/q2-micom/actions/workflows/test_package.yml/badge.svg)](https://github.com/micom-dev/q2-micom/actions/workflows/test_package.yml)
[![codecov](https://codecov.io/gh/micom-dev/q2-micom/branch/main/graph/badge.svg)](https://codecov.io/gh/micom-dev/q2-micom)
[![PyPI version](https://badge.fury.io/py/q2-micom.svg)](https://badge.fury.io/py/q2-micom)


A QIIME 2 plugin for MICOM.

## Installation

You will need an existing QIIME 2 environment. Follow the instructions on ([how to install QIIME 2](https://docs.qiime2.org/2023.9/install/native/#install-qiime-2-within-a-conda-environment)) otherwise. `q2-micom` is compatible with all QIIME 2 distributions.
Let's assume that environment was called `qiime2-2023.9` 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).

**Linux**

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

**Mac**

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

Finally, you activate your environment.

```bash
conda activate qiime2-2023.9
```

`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.

### Install a faster solver (recommended but optional)

*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:

```bash
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.

```bash
conda install -c gurobi gurobi
```

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

```bash
grbgetkey YOUR-LICENSE-KEY
```

### Finish your installation

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

```bash
conda activate qiime2-2023.9  # 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.

<img src="https://github.com/micom-dev/q2-micom/raw/main/docs/assets/overview.png" width="100%">

The best way to get started is to work through the [community tutorial](https://micom-dev.github.io/q2-micom).

## Supported QIIME 2 versions

`q2-micom` is tested against:

1. the current [QIIME 2 version](https://docs.qiime2.org/)
2. the previous version

It should also work with

3. the [development version](https://dev.qiime2.org/latest/)<br>
   However, this may occasionally break. Check [here for the current status](https://github.com/micom-dev/q2-micom/actions/workflows/qiime_dev.yml).


## References

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/micom-dev/q2-micom",
    "name": "q2-micom",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "microbiome, modeling, metabolism, community",
    "author": "Christian Diener",
    "author_email": "mail@cdiener.com,",
    "download_url": "https://files.pythonhosted.org/packages/cb/4e/d2cfe6c4e3ba9e1a6b8f96299d3e89e03d4a90f77292b93ab2b5faeff327/q2-micom-0.13.2.tar.gz",
    "platform": null,
    "description": "<img src=\"https://github.com/micom-dev/q2-micom/raw/main/docs/assets/logo.png\" width=\"75%\">\n\n[![Test and deploy](https://github.com/micom-dev/q2-micom/actions/workflows/test_package.yml/badge.svg)](https://github.com/micom-dev/q2-micom/actions/workflows/test_package.yml)\n[![codecov](https://codecov.io/gh/micom-dev/q2-micom/branch/main/graph/badge.svg)](https://codecov.io/gh/micom-dev/q2-micom)\n[![PyPI version](https://badge.fury.io/py/q2-micom.svg)](https://badge.fury.io/py/q2-micom)\n\n\nA QIIME 2 plugin for MICOM.\n\n## Installation\n\nYou will need an existing QIIME 2 environment. Follow the instructions on ([how to install QIIME 2](https://docs.qiime2.org/2023.9/install/native/#install-qiime-2-within-a-conda-environment)) otherwise. `q2-micom` is compatible with all QIIME 2 distributions.\nLet's assume that environment was called `qiime2-2023.9` for all further steps.\n\n### Add q2-micom to the QIIME 2 environment\n\nThis will be the same step for any supported QIIME 2 version but will vary depending on your operating system\n(similar to the normal QIIME 2 installation).\n\n**Linux**\n\n```bash\nwget https://raw.githubusercontent.com/micom-dev/q2-micom/main/q2-micom-linux.yml\nconda env update -n qiime2-2023.8 -f q2-micom-linux.yml\n# OPTIONAL CLEANUP\nrm q2-micom-*.yml\n```\n\n**Mac**\n\n```bash\nwget https://raw.githubusercontent.com/micom-dev/q2-micom/main/q2-micom-osx.yml\nconda env update -n qiime2-2023.9 -f q2-micom-osx.yml\n# OPTIONAL CLEANUP\nrm q2-micom-*.yml\n```\n\nFinally, you activate your environment.\n\n```bash\nconda activate qiime2-2023.9\n```\n\n`q2-micom` will now install an open source solver that can be used with MICOM. If you use MICOM\nregularly we do recommend to obtain an academic license for CPLEX or Gurobi which will be faster.\n\n### Install a faster solver (recommended but optional)\n\n*CPLEX*\n\n*QIIME 2 versions before 2021.4 are only compatible with CPLEX 12.10 or earlier (later version require at least Python 3.7).*\n\nAfter 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`).\n\nNow install the CPLEX python package into your activated environment:\n\n```bash\npip install ibm/cplex/python/3.8/x86-64_linux\n```\n\nSubstitute `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.\nSubstitute `x86-64_linux` with the folder corresponding to your system (there will only be one subfolder in that directory).\n\n***Gurobi***\n\nGurobi can be installed with conda.\n\n```bash\nconda install -c gurobi gurobi\n```\n\nYou will now have to register the installation using your license key.\n\n```bash\ngrbgetkey YOUR-LICENSE-KEY\n```\n\n### Finish your installation\n\nIf you installed `q2-micom` in an already existing QIIME 2 environment, update the plugin cache:\n\n```bash\nconda activate qiime2-2023.9  # or whatever you called your environment\nqiime dev refresh-cache\n```\n\nYou are now ready to run `q2-micom`!\n\n## Usage\n\nHere is a graphical overview of a `q2-micom` analysis.\n\n<img src=\"https://github.com/micom-dev/q2-micom/raw/main/docs/assets/overview.png\" width=\"100%\">\n\nThe best way to get started is to work through the [community tutorial](https://micom-dev.github.io/q2-micom).\n\n## Supported QIIME 2 versions\n\n`q2-micom` is tested against:\n\n1. the current [QIIME 2 version](https://docs.qiime2.org/)\n2. the previous version\n\nIt should also work with\n\n3. the [development version](https://dev.qiime2.org/latest/)<br>\n   However, this may occasionally break. Check [here for the current status](https://github.com/micom-dev/q2-micom/actions/workflows/qiime_dev.yml).\n\n\n## References\n\nMICOM: Metagenome-Scale Modeling To Infer Metabolic Interactions in the Gut Microbiota <br>\nChristian Diener, Sean M. Gibbons, Osbaldo Resendis-Antonio <br>\nmSystems 5:e00606-19 <br>\nhttps://doi.org/10.1128/mSystems.00606-19\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "QIIME 2 plugin for metabolic modeling of microbial communities.",
    "version": "0.13.2",
    "project_urls": {
        "Homepage": "https://github.com/micom-dev/q2-micom"
    },
    "split_keywords": [
        "microbiome",
        " modeling",
        " metabolism",
        " community"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "79fc81518d25d4226738734396e840934418fb3776105a4b7b82234e41102dda",
                "md5": "e1a4a6fadf8fd43067cda9097ae015af",
                "sha256": "daef24c97f63cc4f6ac0f3401d06a5dfbf724a98d54ca674dab2f76e39f87690"
            },
            "downloads": -1,
            "filename": "q2_micom-0.13.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e1a4a6fadf8fd43067cda9097ae015af",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 27871,
            "upload_time": "2024-04-19T12:43:14",
            "upload_time_iso_8601": "2024-04-19T12:43:14.642710Z",
            "url": "https://files.pythonhosted.org/packages/79/fc/81518d25d4226738734396e840934418fb3776105a4b7b82234e41102dda/q2_micom-0.13.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cb4ed2cfe6c4e3ba9e1a6b8f96299d3e89e03d4a90f77292b93ab2b5faeff327",
                "md5": "e15f1ff720157c2c6b09f1ec6bf480fa",
                "sha256": "f5298746488f60c7f06d4f6bda3aa3d6039989ce3e15ce9d3489d78ece292230"
            },
            "downloads": -1,
            "filename": "q2-micom-0.13.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e15f1ff720157c2c6b09f1ec6bf480fa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 23545,
            "upload_time": "2024-04-19T12:43:16",
            "upload_time_iso_8601": "2024-04-19T12:43:16.067460Z",
            "url": "https://files.pythonhosted.org/packages/cb/4e/d2cfe6c4e3ba9e1a6b8f96299d3e89e03d4a90f77292b93ab2b5faeff327/q2-micom-0.13.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-19 12:43:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "micom-dev",
    "github_project": "q2-micom",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "q2-micom"
}
        
Elapsed time: 0.23656s