X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=convert-sam-for-rsem;h=7d60f70974fa7db3dc1b96d615771bd7c23b1206;hb=a1dc3c6c442d288c7f4218cbb8b7a54f08e9d980;hp=13b9b13b209786d0e90d445d2a108834d8d460c8;hpb=d5639baddcd4bdf09dd31237e914afb987954472;p=rsem.git diff --git a/convert-sam-for-rsem b/convert-sam-for-rsem index 13b9b13..7d60f70 100755 --- a/convert-sam-for-rsem +++ b/convert-sam-for-rsem @@ -82,16 +82,16 @@ $command = $dir."rsem-sam-validator $out_file"; # command, {err_msg} sub runCommand { - print STDERR $_[0]."\n"; + print $_[0]."\n"; my $status = system($_[0]); if ($status != 0) { my $errmsg; if (scalar(@_) > 1) { $errmsg = $_[1]; } - else { $errmsg = "\"$command\" failed! Plase check if you provide correct parameters/options for the script!"; } - print STDERR $errmsg."\n"; + else { $errmsg = "\"$command\" failed! Please check if you provide correct parameters/options for the pipeline!"; } + print $errmsg."\n"; exit(-1); } - print STDERR "\n"; + print "\n"; } __END__