MetaPhlAn: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
MetaPhlAn is a "computational tool for profiling the composition of microbial communities (Bacteria, Archaea and Eukaryotes) from metagenomic shotgun sequencing data (i.e. not 16S) with species-level. With StrainPhlAn, it is possible to perform accurate strain-level microbial profiling", according to its [https://github.com/biobakery/MetaPhlAn GitHub repository]. While the software stack on our clusters does contain modules for a couple of older versions (2.2.0 and 2.8) of this software, we now expect users to install more recent versions using a [[Python#Creating_and_using_a_virtual_environment | Python virtual environment]]. Wheels are available in our wheelhouse for these more recent versions of the MetaPhlAn software: 3.0.0a1, 3.0.7 and 4.0.2. | MetaPhlAn is a "computational tool for profiling the composition of microbial communities (Bacteria, Archaea and Eukaryotes) from metagenomic shotgun sequencing data (i.e. not 16S) with species-level. With StrainPhlAn, it is possible to perform accurate strain-level microbial profiling", according to its [https://github.com/biobakery/MetaPhlAn GitHub repository]. While the software stack on our clusters does contain modules for a couple of older versions (2.2.0 and 2.8) of this software, we now expect users to install more recent versions using a [[Python#Creating_and_using_a_virtual_environment | Python virtual environment]]. Wheels are available in our wheelhouse for these more recent versions of the MetaPhlAn software: 3.0.0a1, 3.0.7 and 4.0.2. You should begin by loading certain modules needed by the Python wheel, | ||
{{Command|module load gcc blast samtools bedtools bowtie2 muscle python/3.9 | {{Command|module load gcc blast samtools bedtools bowtie2 muscle python/3.9}} | ||
|virtualenv --no-download --clear | after which you can create the virtual environment | ||
}} | {{Command|virtualenv --no-download --clear $HOME/ENV && source $HOME/ENV/bin/activate}} | ||
You should then enter the virtual environment, | |||
{{Command|source $HOME/ENV/bin/activate}} | |||
update pip if necessary, | |||
{{Command|pip install --no-index --upgrade pip}} | |||
and finally install the wheel, | |||
{{Command|prompt=(ENV) [name@server ~]|pip install --no-index metaphlan}} | |||
In order to be used correctly | In order to be used correctly |
Revision as of 17:33, 25 October 2022
This is not a complete article: This is a draft, a work in progress that is intended to be published into an article, which may or may not be ready for inclusion in the main wiki. It should not necessarily be considered factual or authoritative.
MetaPhlAn is a "computational tool for profiling the composition of microbial communities (Bacteria, Archaea and Eukaryotes) from metagenomic shotgun sequencing data (i.e. not 16S) with species-level. With StrainPhlAn, it is possible to perform accurate strain-level microbial profiling", according to its GitHub repository. While the software stack on our clusters does contain modules for a couple of older versions (2.2.0 and 2.8) of this software, we now expect users to install more recent versions using a Python virtual environment. Wheels are available in our wheelhouse for these more recent versions of the MetaPhlAn software: 3.0.0a1, 3.0.7 and 4.0.2. You should begin by loading certain modules needed by the Python wheel,
[name@server ~]$ module load gcc blast samtools bedtools bowtie2 muscle python/3.9
after which you can create the virtual environment
[name@server ~]$ virtualenv --no-download --clear $HOME/ENV && source $HOME/ENV/bin/activate
You should then enter the virtual environment,
[name@server ~]$ source $HOME/ENV/bin/activate
update pip if necessary,
[name@server ~]$ pip install --no-index --upgrade pip
and finally install the wheel,
(ENV) [name@server ~] pip install --no-index metaphlan
In order to be used correctly