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.
We provide support for microPITA users. Please join our Google group designated specifically for microPITA users. Feel free to post any questions on the google group by posting directly or emailing firstname.lastname@example.org.
The following figure shows the workflow for microPITA.
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.
- 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
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.
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.