How to install Bioperl on Ubuntu 18.x
1
0
Entering edit mode
3.4 years ago

I am trying to install bioperl on my Ubuntu 18 machine. I ran the following lines of code as suggested by https://zoomadmin.com/HowToInstall/UbuntuPackage/bioperl

sudo apt-get update -y
sudo apt-get install -y bioperl

I tried to run a simple fasta analyzing perl program which has the following bioperl referencing line

 #!/usr/bin/perl -w 
 use strict;
 use Bio::SeqIO;

When I ran it I am getting this error:

perl AnalyzeFasta.pl
Can't locate Bio/SeqIO.pm in @INC (you may need to install the Bio::SeqIO module) (@INC contains:
/home/nadarajan/miniconda3/envs/bioinfo/lib/site_perl/5.26.2/x86_64-linux-thread-multi
/home/nadarajan/miniconda3/envs/bioinfo/lib/site_perl/5.26.2
/home/nadarajan/miniconda3/envs/bioinfo/lib/5.26.2/x86_64-linux-thread-multi
/home/nadarajan/miniconda3/envs/bioinfo/lib/5.26.2 .) at
AnalyzeFasta.pl line 3.
BEGIN failed--compilation aborted at AnalyzeFasta.pl line 3.
  

Thanks.

Bioperl • 4.1k views
ADD COMMENT
1
Entering edit mode
3.4 years ago
h.mon 35k

Install BioPerl with conda.

You are using a conda installed Perl, and installing BioPerl with the operating system package manager - the conda Perl is not aware of the system-wide Perl packages.

ADD COMMENT
0
Entering edit mode

Please let me know how to install Bioperl on conda installed Perl. Thanks

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode

Thank you so much. That fixed the issue!

ADD REPLY

Login before adding your answer.

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