This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Vcftools: Path To Installation Folder

I am trying to install VCFTools on Ubuntu, the installation instructions says:

Note that the PERL5LIB environment variable must contain the path to your VCFtools installation in order for the scripts to work.

I have copied the vcftools folder in the home fodler of ubuntu and I have ran a "make" on it, If I go to that folder I see there is "bin" folder and a "vcftools" file inside that bin folder.

So now when the instractios says set that path, should I navigate to a level before the bin folder? or should I navigate it to insdie the bin folder?

Sorry for dumb question, not a unix guy :(

Closed as this is now a triplicate thread.

From the raw file(vcftools_version.tar.gz), let's start:

tar xvzf vcftools_version.tar.gz
cd vcftools_directory
make

Add the following lines to your .bashrc file:

export PERL5LIB=/vcftools_directory/perl
export PATH=$PATH:/vcftools_directory/bin/

Then, source .bashrc

OK, it's done.

1 answer

These are the lines in my bash profile for vcftools

PATH=$HOME/tools/tabix-0.2.5:$PATH
export PATH


PERL5LIB=$PERL5LIB:$HOME/tools/tabix-0.2.5/perl
 export PERL5LIB

You will need to change the paths to match your install directories

Log in to answer this question.