problem with installing perl modules in linux
0
0
Entering edit mode
2.3 years ago
maria • 0

Hello Everyone

ı was trying to run

cat Precapture.introns.ont.reads.gff | perl extract_intron_strand_motif.pl - Danio_rerio.GRCz11.dna_sm.primary_assembly.fa Precapture.introns.motifs

İt gave me this error Can't locate Bio/DB/Fasta.pm in @INC (you may need to install the Bio::DB::Fasta module) (@INC contains: BEGIN failed--compilation aborted at extract_intron_strand_motif.pl line 8 (#1) (F) You said to do (or require, or use) a file that couldn't be found. Perl looks for the file in all the locations mentioned in @INC, unless the file name included the full path to the file. Perhaps you need to set the PERL5LIB or PERL5OPT environment variable to say where the extra library is, or maybe the script needs to add the library name to @INC. Or maybe you just misspelled the name of the file. See "require" in perlfunc and lib.

Uncaught exception from user code:       Can't locate Bio/DB/Fasta.pm in @INC (you may need to install the Bio::DB::Fasta module) (@INC contains:

Then I tried to install perl module 'perl -MCPAN -e 'install Bio::DB::Fasta' and I also try to run perl shell ' perl -MCPAN -e shell ' in the server but it doesnt work . Could you please help me what the problem is. I have already done module load perl.

Im trying to ınstall perl module 'perl -MCPAN -e 'install Bio::DB::Fasta' and ı also try to run perl shell 'perl -MCPAN -e shell' but it doesnt work

install modules linux perl BioPerl • 1.4k views
ADD COMMENT
1
Entering edit mode

Use conda, it will ease your life

https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html
ADD REPLY
0
Entering edit mode

but it doesnt work

Saying something doesn't work is insufficient and we can't help you without more information. What happens when you run perl -MCPAN -e shell?

From a few details it sounds like you are using a server, a server that I'm guessing you do not have admin privileges on and my guess is that that is causing the issues you are encountering. I would recommend contacting your admin staff for assistance with this or if you are up for it give Conda a try instead.

for additional Conda info for Perl see https://anaconda.org/conda-forge/perl and https://www.biostars.org/p/9465819/#9465819

ADD REPLY
0
Entering edit mode

yes you are right ı m sorry I did not give detail information, When ı tried run it actually ıt did not give any errors but it runniing hours to days .:(

ADD REPLY

Login before adding your answer.

Traffic: 1612 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