This is a test version of Biostars. For the public version, visit https://www.biostars.org.
perl can't see path problem

Hi I'm trying to run pfam_scan.pl. I'm using conda but there's perl from ubuntu system. It conflicts with another? Or script can't see modules?

$ pfam_scan.pl 
Can't locate Moose.pm in @INC (you may need to install the Moose module) (@INC contains: /home/marcin/anaconda3/share/pfam_scan-1.6-4 /home/marcin/anaconda3/lib/perl5/5.32/site_perl /home/marcin/anaconda3/lib/perl5/site_perl /home/marcin/anaconda3/lib/perl5/5.32/vendor_perl /home/marcin/anaconda3/lib/perl5/vendor_perl /home/marcin/anaconda3/lib/perl5/5.32/core_perl /home/marcin/anaconda3/lib/perl5/core_perl .) at /home/marcin/anaconda3/share/pfam_scan-1.6-4/Bio/Pfam/HMM/HMMResultsIO.pm line 50.
protein pfamscan

1 answer

Perl can't see the moose module:

conda install -c bioconda perl-moose
$ conda install -c bioconda perl-moose
Collecting package metadata (current_repodata.json): done
Solving environment: done

# All requested packages already installed.

:(

try creating a brand new conda environment ?

And or copying Moose.pm to one of the directories listed in your @INC eg

/home/marcin/anaconda3/share/pfam_scan-1.6-4

find it with

find . -name "Moose.pm"

Log in to answer this question.