User Tools

Site Tools


This is an old revision of the document!


MetaPhlAn2 is a tool for profiling the composition of microbial communities from metagenomic shotgun sequencing data.



See which versions of metaphlan2 are available:

$ module avail metaphlan2

Load one version into your environment and run it:

$ module load metaphlan2/2.9.5
$ metaphlan2

Note: Please specify the number of CPU (processors) to use when you run metaphlan2. For example:

$ SRS014459-Stool.fasta.gz --input_type fasta --nproc 4 > SRS014459-Stool_profile.txt

The number of CPUs requested with the –nproc option should be the same as the number requested in your SBATCH, ie #SBATCH -n 4.


Notes from the sysadmin during installation:

$ cd /tmp
$ hg clone
$ cd metaphlan2
$ hg tags
$ hg checkout 2.9.5
$ sudo mkdir -p /export/apps/metaphlan2/2.9.5
$ sudo chown aorth /export/apps/metaphlan2/2.9.5
$ python3 -m venv /export/apps/metaphlan2/2.9.5
$ source /export/apps/metaphlan2/2.9.5/bin/activate
$ pip3 install -U pip setuptools
$ pip3 install -U numpy scipy pandas biopython matplotlib
$ sudo cp -r . /export/apps/metaphlan2/2.9.5
metaphlan2-software.1576064584.txt.gz · Last modified: 2019/12/11 11:43 by aorth