From Documentation
Jump to: navigation, search
(General Notes)
(Add bioinformatics category)
Line 135: Line 135:
o BioPerl Wiki<br>
o BioPerl Wiki<br>

Revision as of 12:59, 17 November 2014

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 sharcnet bioperl module provides BioPerl Perl Modules for Biology built (as of this writting) from the source file BioPerl-1.6.923.tar.gz found here The BioPerl installation directory structure on sharcnet is organized as follows:

[roberpj@mon241:/opt/sharcnet/bioperl/1.6.923] ls
bin  doc  examples  ide  lib  maintenance  man  models  perl  scripts  t


- lib/perl5/Bio/ - BioPerl modules       
- scripts/ - Useful production-quality scripts with POD documentation
- doc/ - Documentation utilities
- examples/ - Scripts demonstrating the many uses of BioPerl
- ide/ - files for developing BioPerl using an IDE
- maintenance/ - BioPerl housekeeping scripts
- models/ - DIA drawing program generated OO UML for BioPerl classes (these are quite out-of-date)
- t/ - Perl built-in tests, tests are divided into subdirectories based on the specific classes being tested
- t/data/ - Data files used for the tests, provides good example data

Version Selection

[roberpj@mon241:~] module load bioperl

Job Submission

coming soon ...

Example Job

coming soon ...

General Notes

Once the sharcnet module is loaded one can verify the bioperl perl module is usable by doing:

[roberpj@mon241:~] perl -e 'use Bio::DB::Taxonomy'
[roberpj@mon241:~] perl -MBio::DB::Taxonomy -e 1

The perl library search paths can be listed by doing:

[roberpj@mon241:~] perl -e 'print join("\n", @INC)'

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

use lib "/opt/sharcnet/bioperl/1.6.923/lib/perl5";
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 sharcnet module also sets up the bin directory into your environment so the following bioperl scripts will be found in your default path:

[roberpj@mon241:/opt/sharcnet/bioperl/1.6.923/bin] ls                                                                                                                                               

Extensive man pages are available as found under directory location:

[roberpj@mon241:/opt/sharcnet/bioperl/1.6.923/man] ls
man1  man3

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

[roberpj@mon241:~] module load bioperl
[roberpj@mon241:~] man Bio::Perl


o BioPerl Homepage

o BioPerl Wiki