From Documentation
Revision as of 14:25, 11 May 2019 by Ppomorsk (Talk | contribs) (General Notes)

Jump to: navigation, search
Description: Toolkit of perl modules useful in building bioinformatics solutions in Perl
SHARCNET Package information: see BIOPERL software page in web portal
Full list of SHARCNET supported software


The BioPerl module provides open source Perl tools for bioinformatics, genomics and life sciences.

Usage on National Platforms (i.e. Graham, Cedar)

BioPerl is installed as a module on cedar and graham:

$ module load bioperl
$ module list
Currently Loaded Modules:
 1) nixpkgs/16.09     (S)      6) intel/2016.4  (t)
 2) imkl/   (math)   7) openmpi/2.1.1 (m)
 3) icc/.2016.4.258   (H)      8) StdEnv/2016.4 (S)
 4) gcccore/.5.4.0    (H)      9) perl/5.22.4   (t)
 5) ifort/.2016.4.258 (H)     10) bioperl/1.7.1 (bio)

Once the module is loaded one can verify the BioPerl module is usable by doing:

$ perl -e 'use Bio::DB::Taxonomy'


$ perl -MBio::DB::Taxonomy -e 1

General Notes

The perl library search paths can be listed by doing:

$ perl -e 'print join("\n", @INC)'

Therefore in scripts the following "use lib" line is redundant:

use lib "/cvmfs/"; 
use Bio::Perl;

The following stanza shows how a user might customize their ~.bashrc file to find locally installed perl modules. When modifying the PERL5LIB variable be sure to append to it as shown to preserve its settings. When using PERL5OPT its preferred to use "-I/path" instead of "-Mlib=/path" so search paths are inserted before any "-Mload::this::module" settings when using perl on the command line also as shown. For more information see

export PERL5OPT="-I${HOME}/perl/lib/perl5 -I${HOME}/perl/lib/perl5/site_perl"


export PERL5LIB=$PERL5LIB:"${HOME}/lib/perl5"

The module also sets up the bin directory into your environment so the following bioperl scripts will be found in your default path:

[/cvmfs/]$ ls

Extensive man pages are available as found under directory location:

[/cvmfs/]$ ls
man1  man3

For example, to load the bioperl man page do the following:

$ module load bioperl
$ man Bio::Perl


o BioPerl Homepage

o BioPerl Wiki