Entering edit mode
2.8 years ago
Pilar
•
0
Hi, I was trying to execute perl script TrinityStats.pl with the command:
perl TrinityStats.pl Trinity.fasta > tr.log
But there is an error:
Can't locate Fasta_reader.pm in @INC (you may need to install the Fasta_reader module) (@INC contains: /home/pilofer/Escritorio/TRINITY/all_sequences/../PerlLib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at TrinityStats.pl line 8.
BEGIN failed--compilation aborted at TrinityStats.pl line 8.
I've already tried to upgrade my Trinity version, install Fasta_reader module, etc, but anything works.
Thank you in advance
Have you tried the solution suggested here ? I had the same issue some months ago and it worked for me.
Ah, I also modified the line
#!/usr/bin/env perl
inTrinityStats.pl
to be able to locate the Fasta_reader module.Yes. When i do pip install Fasta_Reader, the output is:
So I modified the line #!/usr/bin/env perl in TrinityStats.pl for: #!/home/pilofer/.local/lib/python3.9/site-packages perl
okey I don't know why, but it works without writing "perl" at the beginning in command