Hi all,
I am using Ubuntu and I cannot start the
vcftools/bin/vcf-fix-ploidy
perl function. It says:
Can't locate Vcf.pm
in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl
.) at /opt/vcftools/bin/vcf-fix-ploidy
line 9.
Ok, i have to add the vcftools/perl directory to PATH:
setenv PATH ${PATH}:/opt/vcftools/perl
setenv PATH ${PATH}:/opt/vcftools/bin
setenv PATH ${PATH}:/opt/vcftools/
neither or all of this does help.
Furthermore I have no Variable PERL5LIB or PERLLIB, too.
These are my environmental variables, that I have:
USER=user0815
LOGNAME=user0815
HOME=/home/user0815
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/sbin:/sbin:/usr/games:/psi/bin:.:/opt/vcftools/perl
MAIL=/home/user0815/Mail/Inbox
SHELL=/bin/tcsh
SSH_CLIENT=xxx
SSH_CONNECTION=xxx
SSH_TTY=/dev/pts/15
TERM=xterm
LANG=de_DE.UTF-8
XDG_SESSION_COOKIE=xxx
NLSPATH=/usr/share/locale/%L/LC_MESSAGES/%N.cat
HOSTTYPE=x86_64-linux
VENDOR=unknown
OSTYPE=linux
MACHTYPE=x86_64
SHLVL=1
PWD=progs/vcftools/perl
GROUP=mygroup
HOST=myhost
REMOTEHOST=myremotehost
OS_TYPE=LINUX
X11BASEDIR=/usr/X11R6
NNTPSERVER=news.mydomain.de
EDITOR=vi
no_proxy=alt_domain.de
MAILCAPS=/home/user0815/.mailcap:/etc/mailcap
PSI=/psi
MATLAB_JAVA=/usr/lib/jvm/java-1.6.0-openjdk/jre/
MAPLE_JAVA=/usr/lib/jvm/java-1.6.0-openjdk/jre/
ENVIRONMENT=NOBATCH
COLUMNS=208
LINES=62
What can I do? How can I tell PERL manually to include this path?
Thanks, all the best.
it's a perl question, unrelated to bioinformatics.
you can run vctools using: perl -I /path/to/vcftools/perl /path/to/vcftools/perl/vcf-xxxxx
I am sorry, if this is not hte right place to ask. Btw, with the -I flag, the same error appears.