- or download this
BEGIN { $ENV{CLUSTALDIR} = 'C:/path/to/clustalw1.8/'; }
- or download this
my $commandstring = $self->executable." $command"." $instring".
" -output=$output". " $param_string";
...
$self->debug( "clustal command = $commandstring");
my $status = system($commandstring);
$self->throw( "Clustalw call ($commandstring) crashed: $? \n") unl
+ess $status==0;
- or download this
sub program_dir {
return Bio::Root::IO->catfile($ENV{CLUSTALDIR}) if $ENV{CLUSTALDIR};
}
- or download this
# You will need to enable Clustalw to find the clustalw program. This
# can be done in (at least) two ways:
...
# 2. include a definition of an environmental variable CLUSTALDIR in
# every script that will use Clustal.pm.
# $ENV{CLUSTALDIR} = '/home/peter/clustalw1.8/';