Skip to content

micropita

Vic_ks edited this page May 21, 2020 · 4 revisions

microPITA Tutorial

microPITA (microbiomes: Picking Interesting Taxonomic Abundance) is a computational tool enabling sample selection in two-stage (tiered) studies. Using two-stage designs can more efficiently allocate resources, reducing study costs, and maximizing the use of samples.

microPITA is available as a Galaxy module, a Docker image, and included in bioBakery (VM and cloud). For additional information, please refer to the microPITA paper.

We provide support for microPITA users. Please join our bioBakery support forum designated specifically for microPITA users.


Table of contents


Overview


The following figure shows the workflow for microPITA.

microPITA.png


1. microPITA (Galaxy module)


microPITA requires a PCL or BIOM input file. For further information on details of format, please refer to the microPITA user manual. For the purpose of this tutorial we will be using a sample input file Test.pcl depicting the general format of the input file.

  • Go to the Huttenhower Galaxy Server: http://huttenhower.sph.harvard.edu/galaxy/
  • Click on the Get Data -> Upload File link on the left pane and upload the demo file Test.pcl. You can do this by clicking on the Browse button, selecting the demo file, and then pressing the Start button. Select the format micropita.

image

  • Click on the microPITA -> Run link on the left pane.
    • Select the input data from the Input file drop-down menu.
    • Specify the last metadata row in the sample, after which the microbial species are listed. For this demo, select Label.
    • Select the sample selection method from the Select method drop-down menu. For this demo, select representative.
    • Click on Execute

image

The results will appear on the right pane. You may proceed with viewing it (by clicking on the Eye symbol) or downloading it on your computer (by clicking on the Save symbol). The output file will depict the samples that are representative of the survey.


2. microPITA (Docker/VM)


microPITA can be installed and run from a Docker image. Please note, if you are using bioBakery (Vagrant VM or cloud) you do not need to install microPITA because the tool and its dependencies are already installed.

Install with Docker: $ docker run -it biobakery/micropita bash

If you would like to install from source, refer to the microPITA user manual for the dependencies and installation instructions.

To run MicroPITA:

  • Open a terminal and create an input folder.

  • Place the sample input file in the input folder, and run the following command:

    $ MicroPITA.py --lastmeta Label -m representative input/Test.pcl output.txt
    

This will generate an output.txt file containing the results.

For further analysis options and more information, please refer to the detailed documentation.


Notes


Please visit http://huttenhower.sph.harvard.edu/micropita for more information

Clone this wiki locally