Question: miRDeep2 installation 'make_html.pl'
0
gravatar for Barry Digby
12 months ago by
Barry Digby310
National University of Ireland, Galway
Barry Digby310 wrote:

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 pdf::api2 perl • 456 views
ADD COMMENTlink modified 12 months ago by RamRS26k • written 12 months ago by Barry Digby310
2
gravatar for RamRS
12 months ago by
RamRS26k
Houston, TX
RamRS26k wrote:

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 COMMENTlink modified 12 months ago • written 12 months ago by RamRS26k
1

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 written 12 months ago by Barry Digby310

Wonderful. So many ways to add a library location!

ADD REPLYlink written 12 months ago by RamRS26k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1464 users visited in the last hour