VCFtools installation
Download vcftools from here: https://github.com/vcftools/vcftools/zipball/master
Unzip the downloaded package and proceed to install RHEL packages required to build vcftools using the following:
yum install autoconf
yum install automake
yum install gcc
yum group install “Development Tools”
yum install zlib
yum install zlib-devel
export
PERL5LIB=/path/to/your/vcftools-directory/src/perl/
cd vcftools/
./autogen.sh
./configure
make
make install
./autogen.sh
./configure
make
make install
The binary executables will be installed in the /usr/local/bin folder.
To add the executables to your path use the following:
export
PATH=$PATH:/usr/local/bin
To set it permanently add the following line to the /etc/profile file just before it gets
exported:
PATH=$PATH:/usr/local/bin:/usr/local/tabixTabix installation
(1) Go here to download the newest release.
(2) Extract the file:
(3) Compile the program by
typing make on the UNIX command line.
(4) Export the path by adding the following line to your .bashrc file, saving your .bashrc file, and typing source on the UNIX command line. Note: path_to_tabix is the directory where tabix is installed. |
|
References:
https://vcftools.github.io/examples.html
http://genometoolbox.blogspot.com.au/2013/11/installing-tabix-on-unix.html