miRDeep2 installation 'make_html.pl'
1
0
Entering edit mode
2.7 years ago
Barry Digby ▴ 780

Hi guys,

I have been following the installation steps for miRDeep2 outlined here: https://github.com/rajewsky-lab/mirdeep2. I am stuck on the final step of testing installation, testing the make_html.pl script. The error I receive is:

Can't locate PDF/API2.pm 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/make_html.pl line 25.
BEGIN failed--compilation aborted at /home/bdigby/bin/mirdeep2/src/make_html.pl 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 API2.pm 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
miRDeep2 perl PDF::API2 • 1.0k views
ADD COMMENT
2
Entering edit mode
2.7 years ago
Ram 35k

Perl errors of the format "Can't find XYZ/ABC.pm 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 COMMENT
1
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 REPLY
0
Entering edit mode

Wonderful. So many ways to add a library location!

ADD REPLY

Login before adding your answer.

Traffic: 2597 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6