Bio::Installer
SLR
Toolbar
Summary
Bio::Installer::SLR - DESCRIPTION of Object
Package variables
No package variables defined.
Included modules
Inherit
Synopsis
Give standard usage here
Description
Describe the object here
Methods
Methods description
Title : get_default Usage : Function: Example : Returns : Args : |
Title : install Usage : $installer->install(); Function: Example : Returns : Args : |
Title : _execute_slr_install_script Usage : Function: Example : Returns : Args : |
Methods code
BEGIN { %DEFAULTS = ( 'ORIGIN_DOWNLOAD_DIR' => 'http://www.ebi.ac.uk/goldman-srv/SLR/download/current/',
'BIN_FOLDER' => 'bin',
'DESTINATION_DOWNLOAD_DIR' => '/tmp',
'DESTINATION_INSTALL_DIR' => "$ENV{'HOME'}",
'PACKAGE_NAME' => 'slr_source.tgz',
'DIRECTORY_NAME' => 'slr',
'ENV_NAME' => 'SLRDIR',
);} |
sub get_default
{ my $self = shift;
my $param = shift;
return $DEFAULTS{$param};} |
sub install
{ my ($self,@args) = @_;
my $dir;
$self->_decompress;
$dir = $self->destination_install_dir;
$self->_remember_env; } |
sub _execute_slr_install_script
{ my ($self,@args) = @_;
my $call;
my $destination = $self->destination_install_dir;
$destination =~ s|/$||;
$destination .= "/" . $self->directory_name;
chdir $destination or die "Cant cd to $destination $!\n";
print "\n\nCompiling now... (this might take a while)\n\n";
$call = "sh build.sh MP";
system("$call") == 0 or die "Error when trying to run install script $?\n";
}
1;} |
General documentation
User feedback is an integral part of the evolution of this and other
Bioperl modules. Send your comments and suggestions preferably to
the Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/MailList.shtml - About the mailing lists
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and
reponsive experts will be able look at the problem and quickly
address it. Please include a thorough description of the problem
with code and data examples if at all possible.
| AUTHOR - Albert Vilella | Top |
Email avilella-AT-gmail-DOT-com
Describe contact details here
Additional contributors names and emails here
The rest of the documentation details each of the object methods.
Internal methods are usually preceded with a _