wholeGenomeSequencingAnalysisPipeline / BacPipe

GNU General Public License v3.0
8 stars 9 forks source link

Prokka installation #9

Closed wholeGenomeSequencingAnalysisPipeline closed 5 years ago

wholeGenomeSequencingAnalysisPipeline commented 7 years ago

Prokka installation

If you did not install Prokka (annotation tool), BacPipe will produce: Please select a valid prokka path or switch it off

Solution:

Installation

Before the main install can begin you need to install some system packages:

Centos/Fedora/RHEL (RPM)

sudo yum install perl-Time-Piece perl-XML-Simple perl-Digest-MD5 git java perl-CPAN perl-Module-Build
sudo cpan -i Bio::Perl  # if you don't have Bioperl installed (it will be tedious)

Ubuntu/Debian/Mint (APT)

sudo apt-get install libdatetime-perl libxml-simple-perl libdigest-md5-perl git default-jre bioperl

Mac OS X

sudo cpan Time::Piece XML::Simple Digest::MD5 Bio::Perl

There are currently 3 ways to install the main Prokka software:

Github, Tarball or Homebrew.

Github

Choose somewhere to put it, for example in your home directory (no root access required):

% cd $HOME

Clone the latest version of the repository:

% sudo apt install git (if you don't have git installed)
% git clone https://github.com/tseemann/prokka.git
% ls prokka

Index the sequence databases

% prokka/bin/prokka --setupdb

Homebrew

Homebrew is a package manager which allows users to easily install complex software in their home directory. Instructions for installing it are available for Linux and Mac OS X.

Ensure you have brew installed:

% brew

Make sure you have the homebrew-science tap/channel enabled:

% brew tap homebrew/science
% brew update

Install Prokka and all its dependencies:

% brew install prokka --HEAD

Tarball

WARNING: this method gives you very old version of prokka. The brew or github methods are preferred!

Download the latest prokka-1.xx.tar.gz archive from http://www.bioinformatics.net.au/software.prokka.shtml

% wget http://www.vicbioinformatics.com/prokka-1.11.tar.gz

Choose somewhere to put it, for example in your home directory (no root access required):

% cd $HOME
% tar zxvf prokka-1.11.tar.gz
% ls prokka-1.11

Dependencies

Mandatory