Hello,
I am writing custom tool for Galaxy that uses perl scripts and bioperl modules. My instance recognize the tool but when try to use it I get the following error :
Fatal error: Exit code 2 () Can't locate Bio/SeqIO.pm in @INC (you may need to install the Bio::SeqIO module) (@INC contains: ~/galaxy/tools/ExSpOD/modules /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/cidam/galaxy/tools/ExSpOD/ExSpOD.pl line 23. BEGIN failed--compilation aborted at /home/cidam/galaxy/tools/ExSpOD/ExSpOD.pl line 23.
But in the "~/galaxy/tools/ExSpOD/modules" there all the needed bioperl modules. My script uses the following line to indicate where to find the modules (aka "~/galaxy/tools/ExSpOD/modules") :
use lib "$ENV{PWD}/modules";
I don't understand where is the problem. Maybe should I use another method to indicate the module library ? Or find a way to install the bioperl modules in Galaxy ?
Thank you.