Fasta_reader.pm Trinity fails
0
0
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

perl fasta_reader trinityrnaseq trinity • 1.2k views
ADD COMMENT
0
Entering edit mode

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 in TrinityStats.pl to be able to locate the Fasta_reader module.

ADD REPLY
0
Entering edit mode

Yes. When i do pip install Fasta_Reader, the output is:

Requirement already satisfied: Fasta_reader in /home/pilofer/.local/lib/python3.9/site-packages (1.0.0)
Requirement already satisfied: importlib-resources>=1.4.0 in /home/pilofer/.local/lib/python3.9/site-packages (from Fasta_reader) (5.4.0)
Requirement already satisfied: pytest>=5.4.3 in /usr/lib/python3/dist-packages (from Fasta_reader) (6.0.2)
Requirement already satisfied: click>=7.1.2 in /usr/lib/python3/dist-packages (from Fasta_reader) (7.1.2)
Requirement already satisfied: xopen>=1.0.1 in /usr/lib/python3/dist-packages (from Fasta_reader) (1.1.0)
Requirement already satisfied: more-itertools>=8.4.0 in /home/pilofer/.local/lib/python3.9/site-packages (from Fasta_reader) (8.12.0)
Requirement already satisfied: zipp>=3.1.0 in /home/pilofer/.local/lib/python3.9/site-packages (from importlib-resources>=1.4.0->Fasta_reader) (3.7.0)
Requirement already satisfied: isal>=0.3.0 in /home/pilofer/.local/lib/python3.9/site-packages (from xopen>=1.0.1->Fasta_reader) (0.11.1)

So I modified the line #!/usr/bin/env perl in TrinityStats.pl for: #!/home/pilofer/.local/lib/python3.9/site-packages perl

ADD REPLY
0
Entering edit mode

okey I don't know why, but it works without writing "perl" at the beginning in command

ADD REPLY

Login before adding your answer.

Traffic: 1852 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6