This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in running PfamScan: Can't locate Bio/Pfam/Scan/PfamScan.pm in @INC

Hi everyone,

I am not being able to run PfamScan in my pc. Everytime it pops up with this error.

$perl pfam_scan.pl

Can't locate Bio/Pfam/Scan/PfamScan.pm in @INC (you may need to install the Bio::Pfam::Scan::PfamScan module) (@INC contains: /home/pampa/Desktop/Papai/Pfam/PfamScan /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at pfam_scan.pl line 10. BEGIN failed--compilation aborted at pfam_scan.pl line 10.

Can anyone guide me with this?

pfam pfamscan software error

How did you install it?

I followed the steps as instructed in the Readme file.

It wasn't installed properly or your paths are defined properly.

2 answers

Perl is searching for a file "Bio/Pfam/Scan/PfamScan.pm" in /home/pampa/Desktop/Papai/Pfam/PfamScan, however, your pfam folder might contain only Pfam/Scan/PfamScan.pm (without folder "Bio"). You can try the following:

cd /home/pampa/Desktop/Papai/Pfam/PfamScan #Your PfamScan directory

mkdir Bio

mv Pfam/ Bio/

Hi everyone, Same error i am also having. Pfam already in Bio folder

Can't locate Bio/Pfam/Scan/PfamScan.pm in @INC (you may need to install the Bio::Pfam::Scan::PfamScan module) (@INC contains: /home/dimple/Software/pfam_scan /home/dimple/Software/pfam_scanDir /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at pfam_scan.pl line 8. BEGIN failed--compilation aborted at pfam_scan.pl line 8.

Dimple

Log in to answer this question.