Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

PICRUSt2 wraps a number of tools to generate functional predictions from amplicon sequences. 

https://github.com/picrust/picrust2/wiki

Installation guide

https://github.com/picrust/picrust2/wiki/Installation

Code Block
$ ssh -Y lxlogin6.lrz.de (-l userID)
$ module load gcc/4.9
$ module load python

Pre requisite installations

https://github.com/picrust/picrust2/wiki/Pre-requisite-installations

  • EPA-NG
  • GAPP

Setting up your PATH

It is presumed that you have a "bin" directory within your home directory (e.g. "~/bin") and this directory is within your PATH environment variable.

You will need to enter the directory containing these tools:

Code Block
$ mkdir ~/DIR/placement_tools
$ cd placement_tools

EPA-NG installation

Code Block
$ wget https://github.com/gavinmdouglas/epa-ng/archive/0.2.1-beta-dev.tar.gz
$ tar -xzf epa-ng-0.2.1-beta-dev.tar.gz
$ cd epa-ng-0.2.1-beta-dev
$ make
$ ln -s $PWD/bin/epa-ng ~/bin/

GAPPA installation

Code Block
$ wget https://github.com/gavinmdouglas/gappa/archive/v0.0.0-dev.tar.gz
$ tar -xzf gappa-0.0.0-dev.tar.gz
$ cd gappa-0.0.0-dev
$ make
$ ln -s $PWD/bin/gappa ~/bin/

After installing these pre-requisites, clone the repository

Code Block
$ git clone https://github.com/picrust/picrust2.git
$ cd picrust2/

Install PICRUSt2 and other dependencies in a new conda environment

Code Block
$ conda env create -f picrust2-env.yaml
$ source activate picrust2
$ pip install --editable .

Run the tests to verify installation


Code Block
$ pytest