Thank you Sir. the apt-get you mentioned did fix the error and I was able to run "make" on VCFTools folder.
Now do I still need to set PERL5LIB environment variable and run tabidx, etc? or now it is ready to run some commands such as vcf-to-tab ?
Hmm... I'm pretty sure you still have to set the PERL5LIB environment variable. Running 'make' builds the Vcf.pm perl module, but you still have to tell your perl interpreter where to find the module, since it won't be in a standard perl library directory. That's what the PERL5LIB variable does.
ah ok, "vcf.pm", I found that in the Perl folder... now a little confused, when the installation says set the PERL5LIB to the installation folder, where do we point it to? to the perl folder? or to the bin folder? or just to the vcftool folder? Actually I asked it here http://www.biostars.org/post/show/50272/vcftools-path-to-installation-folder/
Thank you Sir. the apt-get you mentioned did fix the error and I was able to run "make" on VCFTools folder. Now do I still need to set PERL5LIB environment variable and run tabidx, etc? or now it is ready to run some commands such as vcf-to-tab ?
Hmm... I'm pretty sure you still have to set the PERL5LIB environment variable. Running 'make' builds the Vcf.pm perl module, but you still have to tell your perl interpreter where to find the module, since it won't be in a standard perl library directory. That's what the PERL5LIB variable does.
ah ok, "vcf.pm", I found that in the Perl folder... now a little confused, when the installation says set the PERL5LIB to the installation folder, where do we point it to? to the perl folder? or to the bin folder? or just to the vcftool folder? Actually I asked it here http://www.biostars.org/post/show/50272/vcftools-path-to-installation-folder/