Biostar Beta. Not for public use.
Question: miRDeep2 installation ''
Entering edit mode

Hi guys,

I have been following the installation steps for miRDeep2 outlined here: I am stuck on the final step of testing installation, testing the script. The error I receive is:

Can't locate PDF/ in @INC (@INC contains: PERL5LIB /home/bdigby/bin/mirdeep2/lib/perl5/site_perl/5.16.2 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/bdigby/bin/mirdeep2/src/ line 25.
BEGIN failed--compilation aborted at /home/bdigby/bin/mirdeep2/src/ line 25.

I have tried to solve this by changing one of the @INC paths from "/home/bdigby/bin/mirdeep2/lib/perl5/site_perl/5.16.2" to "/home/bdigby/bin/mirdeep2/lib/PDF/" (where is located), tried the two versions of perl on the cluster (and adjusted my @INC accordingly), to no avail. I am trying to test this installation on a cluster, running on Linux.

Any suggestions would be appreciated. I could try and ask the admin with root privelages to install PDF::API2 in the systems perl libraries for me, if it remedies this.

  • Barry
ADD COMMENTlink 10 months ago b.d237 • 100 • updated 10 months ago RamRS 21k
Entering edit mode

Perl errors of the format "Can't find XYZ/ in @INC" can almost always be solved using cpan install XYZ::ABC, i.e. cpan install PDF::API2 in your case. I think going the sysadmin route is the way to go for now.

ADD COMMENTlink 10 months ago RamRS 21k
Entering edit mode

Thanks for the response, aforementioned sysadmin corrected it by adding

use lib '/home/bdigby/bin/mirdeep2/lib/';

to the header of the perl script and it worked :)

ADD REPLYlink 10 months ago
• 100
Entering edit mode

Wonderful. So many ways to add a library location!

ADD REPLYlink 10 months ago

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.0