Code Monkey home page Code Monkey logo

q2-ili's Introduction

QIIME 2 `ili plugin

Build Status Coverage Status

This is a QIIME 2 plugin. For details on QIIME 2, see https://qiime2.org.

This plugin is wrapping `ili, for more information, see https://github.com/MolecularCartography/ili.

Installation

To install q2-ili you need a working QIIME 2 installation. After you have installed QIIME 2, clone and install q2-ili by running these commands:

git clone --recurse-submodules https://github.com/biocore/q2-ili.git && cd q2-ili
pip install .
qiime dev refresh-cache

Troubleshooting installation

If the git command above results in an error like the following:

error: Server does not allow request for unadvertised object...

you may need to update the version of git that is installed on your system. You can download the latest version of git here.

Requirements

In order to use this plugin, you need a 3D model in STL format and a mapping between your samples and their coordinate locations in the model. To do this your QIIME 2 metadata file needs to include three columns labeled x, y and z. For more information see `ili's documentation.

Example

To exemplify how to use q2-ili, we will use the data from Bouslimani et al. 2015. The metabolomic features will be colored in the model according to the site where they were collected from. The data for this example is included in the example-data directory of the repository you cloned above.

First we need to import the model as a QIIME2 artifact. The type Model is installed in QIIME 2 along with this plugin, hence we can run the following command:

qiime tools import \
--type Model \
--input-path example-data/model.stl \
--output-path model.qza

Next, we generate the visualization using the model and the numeric data that we have in the metadata file:

qiime ili plot \
--i-model model.qza \
--m-metadata-file example-data/metadata.tsv \
--o-visualization visualization.qzv

Lastly, you can visualize and interact with this model using q2view.

q2-ili's People

Contributors

eldeveloper avatar gregcaporaso avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

q2-ili's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.