in reply to Re^10: Can't run Clustalw through Bioperl
in thread Can't run Clustalw through Bioperl

Now that part is bug in the module, its using string form of system, which is subject to shell interpolation, can be fixed like

## my $commandstring = $self->executable."$instring"."$param_stri +ng"; ## $commandstring .= ' 1>/dev/null' if $quiet; ## $self->debug( "clustal command = $commandstring"); ## ## my $status = system($commandstring); my @command = ( $self->executable, $instring, $param_string +); $self->debug( "clustal command = @command "); my $status = system(@command);

Replies are listed 'Best First'.
Re^12: Can't run Clustalw through Bioperl
by dimitris852 (Acolyte) on Mar 15, 2016 at 00:32 UTC
    Can you plz be more specific? I m really new to pearl. thanks!

      I Just made it work! Steps to make it work:

      1)copy the clustalw2.exe

      2)paste it on your e.g. Desktop

      3)Rename it to clustalw.exe

      4)Give the $ENV{CLUSTALDIR}the new path to clustalw.exe

      and it works!

      (at first tried to rename the basic clustalw2.exe of 'C:\Program Files (x86)\ClustalW2' but didn't work)

      Thanks everybody for your help and your time! Have a nice day!