view metaphlan.xml @ 4:80b22b31633f

Updated for MetaPhlAn v1.7 and tool_dependencies added for auto install
author Jim Johnson <>
date Thu, 11 Oct 2012 12:01:20 -0500
parents e88fa24fa837
children 73f082e9fa2d
line wrap: on
line source

<tool id="metaphlan" name="MetaPhlAn" version="1.7.0">
    <requirement type="package" version="1.7.0">metaphlan</requirement>
    <requirement type="package">bowtie2</requirement>
  <description>Metagenomic Phylogenetic Analysis</description>
	  python \${METAPHLAN_PATH}/ 
	  --bowtie2db \${METAPHLAN_PATH}/bowtie2db/mpa  
	  -o $output  
	  --bt2_ps $PresetsForBowtie2 

	<param format="fasta,fastq" name="input" type="data" label="Input metagenome (multi-fasta of metagenomic reads, loaded with the Get Data module, see below for an example)"></param>
	<param name="PresetsForBowtie2" type="select" format="text">
		<label>Sensitivity options for read-marker similarity (as described by BowTie2)</label>
                <help>sensitive-local is recommended for avoiding overly-sensitive hits when using non-preprocessed fastq files</help>
			<option value="very-sensitive-local">Very Sensitive  Local</option>
			<option value="sensitive-local">Sensitive  Local</option>
			<option value="very-sensitive">Very Sensitive</option>
			<option value="sensitive">Sensitive</option>
    <exit_code range="1:"  level="fatal"   description="MetaPhlAn error" />
	<data format="tabular" name="output" />


.. class:: infomark

**Input example:** You can try out MetaPhlAn using the synthetic dataset (250,000 reads) available at: . There is no need to download the file, you can just copy-and-paste the dataset address in the "Upload File" module inside the "Load Data" link here in the left panel.

.. class:: infomark

**Computational time:** Unless the server is overloaded, you should expect the tool to process ~10,000 reads per second. The synthetic metagenome linked above (250,000 reads) should take no more than 30 seconds to complete.

.. class:: infomark

**Tip:** If your input is in FASTQ you can convert it in FASTA using the corresponding Galaxy module included in the "Convert Format" tools.


**What it does**

MetaPhlAn (Metagenomic Phylogenetic Analysis) is a computational tool for profiling the composition of microbial communities from metagenomic shotgun sequencing data. MetaPhlAn relies on unique clade-specific marker genes identified from reference genomes, allowing orders of magnitude speedups and unambiguous taxonomic assignments.

Although MetaPhlAn can use both BlastN and BowTie2 in the read-to-marker mapping step, this Galaxy module uses only BowTie2 for computational reasons. 

For additional information about MetaPhlAn and the MetaPhlAn command line package, please refer to or to the paper reported below. Please notice that most of the additional parameters that can be tuned with the command line version are set here to the default values.



The input file must be a multi-fasta file containing metagenomic reads loaded with the "Get Data" module in the left panel. Reads can be as short as ~40 nt although lengths higher than 70 nt are recommended. 

A synthetic metagenome you can use as sample input is available at


The output is a two column tab-separated plain file reporting the predicted microbial clades present in the metagenomic samples and the corresponding relative abundances. 

All taxonomic levels from domain to species will be reported and higher taxonomic levelis contain the sum of the abundances of its taxonomic leaf nodes (usually species) and, possibly, some lower level "unclassified" clades. 


**Citation and contacts**

If you find MetaPhlAn useful in your research, please cite our paper:

| `Nicola Segata`_, Levi Waldron, Annalisa Ballarini, Vagheesh Narasimhan, Olivier Jousson, `Curtis Huttenhower`_.
| **"Fast and accurate metagenomic profiling of microbial community composition using unique clade-specific marker genes"**
| Nature Methods, 2012 (in press)

.. _Nicola Segata:
.. _Curtis Huttenhower:

If you have any questions or comments, feel free to `contact  us`_. Additional information are available at and in the FAQ at the same page. You can also join and use our user group at

.. _contact us: