Bio::Installer Muscle
SummaryIncluded librariesPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvs
Summary
Bio::Installer::Muscle - DESCRIPTION of Object
Package variables
No package variables defined.
Included modules
Bio::Installer::Generic
Bio::Root::Root
Inherit
Bio::Installer::Generic
Synopsis
Give standard usage here
Description
Describe the object here
Methods
BEGIN Code
get_defaultDescriptionCode
installDescriptionCode
_execute_Muscle_install_scriptDescriptionCode
Methods description
get_default code    nextTop
 Title   : get_default 
Usage :
Function:
Example :
Returns :
Args :
installcodeprevnextTop
 Title   : install
Usage : $installer->install();
Function:
Example :
Returns :
Args :
_execute_Muscle_install_scriptcodeprevnextTop
 Title   : _execute_Muscle_install_script
Usage :
Function:
Example :
Returns :
Args :
Methods code
BEGINTop
BEGIN {
    %DEFAULTS = ( 'ORIGIN_DOWNLOAD_DIR' => 'http://igs-server.cnrs-mrs.fr/~cnotred/Packages',
                  'BIN_FOLDER' => 'bin',
                  'DESTINATION_DOWNLOAD_DIR' => '/tmp',
                  'DESTINATION_INSTALL_DIR' => "$ENV{'HOME'}",
                  'PACKAGE_NAME' => 'T-COFFEE_distribution.tar.gz',
                  'DIRECTORY_NAME' => 'T-COFFEE_distribution_Version_1.37',
                  'ENV_NAME' => 'MUSCLEDIR',
                );
}
get_defaultdescriptionprevnextTop
sub get_default {
    my $self = shift;
    my $param = shift;
    return $DEFAULTS{$param};
}
installdescriptionprevnextTop
sub install {
   my ($self,@args) = @_;
   my $dir;
   $self->_decompress;
   $self->_execute_Muscle_install_script;
   $dir = $self->destination_install_dir;
   $self->_remember_env;
}
_execute_Muscle_install_scriptdescriptionprevnextTop
sub _execute_Muscle_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 install";
   system("$call") == 0 or die "Error when trying to run install script $?\n";


}


1;
}
General documentation
FEEDBACKTop
Mailing ListsTop
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
Support Top
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.
Reporting BugsTop
Report bugs to the Bioperl bug tracking system to help us keep track
of the bugs and their resolution. Bug reports can be submitted via
the web:
  http://redmine.open-bio.org/projects/bioperl/
AUTHOR - Albert VilellaTop
Email avilella-AT-gmail-DOT-com
Describe contact details here
CONTRIBUTORSTop
Additional contributors names and emails here
APPENDIXTop
The rest of the documentation details each of the object methods.
Internal methods are usually preceded with a _