Microbe-metabolite interactions through neural networks
Project description
# rhapsody
Neural networks for estimating microbe-metabolite co-occurence probabilities.
# Installation
```
conda create -n mae python=3.5 tensorflow numpy scipy pandas scikit-bio tqdm pip
conda install -n mae biom-format -c conda-forge
source activate mae
pip install h5py git+https://github.com/mortonjt/rhapsody.git
```
If you are getting errors, it is likely because you have garbage channels under your .condarc. Make sure to delete your .condarc -- you shouldn't need it.
# Getting started
To get started you can run a quick example as follows. This will generate
microbe-metabolite conditional probabilities that are accurate up to rank.
```
rhapsody autoencoder \
--otu-file data/otu.biom \
--metabolite-file data/ms.biom \
--summary-dir summary \
--results-file cv-results.csv \
--ranks-file ranks.csv
```
While this is running, you can open up another session and run `tensorboard --logdir .` for diagnosis.
See the following url for a more complete tutorial with real datasets.
https://github.com/knightlab-analyses/multiomic-cooccurences
More information can found under `rhapsody --help`
# Qiime2 plugin
If you want to make this qiime2 compatible, install this in your
qiime2 conda environment and run the following
```
qiime dev refresh-cache
```
This should allow your q2 environment to recognize rhapsody. To test run
the qiime2 plugin, run the following commands
```
qiime tools import \
--input-path data/otu.biom \
--output-path otu.qza \
--type FeatureTable[Frequency]
qiime tools import \
--input-path data/ms.biom \
--output-path ms.qza \
--type FeatureTable[Frequency]
qiime rhapsody autoencoder \
--i-microbes otu.qza \
--i-metabolites ms.qza \
--o-conditional-ranks ranks.qza
```
More information can found under `qiime rhapsody --help`
Neural networks for estimating microbe-metabolite co-occurence probabilities.
# Installation
```
conda create -n mae python=3.5 tensorflow numpy scipy pandas scikit-bio tqdm pip
conda install -n mae biom-format -c conda-forge
source activate mae
pip install h5py git+https://github.com/mortonjt/rhapsody.git
```
If you are getting errors, it is likely because you have garbage channels under your .condarc. Make sure to delete your .condarc -- you shouldn't need it.
# Getting started
To get started you can run a quick example as follows. This will generate
microbe-metabolite conditional probabilities that are accurate up to rank.
```
rhapsody autoencoder \
--otu-file data/otu.biom \
--metabolite-file data/ms.biom \
--summary-dir summary \
--results-file cv-results.csv \
--ranks-file ranks.csv
```
While this is running, you can open up another session and run `tensorboard --logdir .` for diagnosis.
See the following url for a more complete tutorial with real datasets.
https://github.com/knightlab-analyses/multiomic-cooccurences
More information can found under `rhapsody --help`
# Qiime2 plugin
If you want to make this qiime2 compatible, install this in your
qiime2 conda environment and run the following
```
qiime dev refresh-cache
```
This should allow your q2 environment to recognize rhapsody. To test run
the qiime2 plugin, run the following commands
```
qiime tools import \
--input-path data/otu.biom \
--output-path otu.qza \
--type FeatureTable[Frequency]
qiime tools import \
--input-path data/ms.biom \
--output-path ms.qza \
--type FeatureTable[Frequency]
qiime rhapsody autoencoder \
--i-microbes otu.qza \
--i-metabolites ms.qza \
--o-conditional-ranks ranks.qza
```
More information can found under `qiime rhapsody --help`
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
rhapsody-0.1.0.tar.gz
(10.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
rhapsody-0.1.0-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file rhapsody-0.1.0.tar.gz.
File metadata
- Download URL: rhapsody-0.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
913204023e8cf4933b1e2cd1cb03a3dcb76dfb7b3c0c5b38e43057e472f2d1eb
|
|
| MD5 |
ad0b9d8c014d19f2183e79d467e958c3
|
|
| BLAKE2b-256 |
3c2bd703040e0a26489f9d87b09d1b968249fa38e18165a0b654d618f5f96c1d
|
File details
Details for the file rhapsody-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rhapsody-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f0be550bacd9880a3371e42c3e5761edd5c59b63131a24dccbaec810f451746
|
|
| MD5 |
9e860a278c5a1ab8611a1b64a2c58333
|
|
| BLAKE2b-256 |
184f3e5e3dcbc947324cc6977abd1e4eff4f3510306fc51bf52d286493987384
|