PATRIC3 / PATRIC-distribution

For distributing patric related code
26 stars 4 forks source link

p3-rast error: "Can't locate FastA.pm..." #9

Open reimopriidik opened 5 years ago

reimopriidik commented 5 years ago

Hi,

I get an error when trying to run 'p3-rast' script. Other 'p3' scripts seem to work.

$ p3-rast
Can't locate FastA.pm in @INC (you may need to install the FastA module) (@INC contains: /usr/share/patric-cli/deployment/lib /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 /usr/share/patric-cli/deployment/lib/RASTlib.pm line 31.
BEGIN failed--compilation aborted at /usr/share/patric-cli/deployment/lib/RASTlib.pm line 31.
Compilation failed in require at /usr/share/patric-cli/deployment/plbin/p3-rast.pl line 22.
BEGIN failed--compilation aborted at /usr/share/patric-cli/deployment/plbin/p3-rast.pl line 22.

Installing Bio::DB::Fasta module through CPAN did not fix the issue.

Any suggestions?

Kind regards, Reimo

alekseyig commented 4 years ago

@reimopriidik, I think, the use FastA; line can be safely commented out in RASTlib.pm file.