X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=convert-sam-for-rsem;fp=convert-sam-for-rsem;h=decf86195f25d65a9cdacddb98d272d25c160df3;hb=683863b75f8d8bef2461039a6911b0e9619cc113;hp=13b9b13b209786d0e90d445d2a108834d8d460c8;hpb=c678676b7da64266b4b98258a34d1b32372da6dd;p=rsem.git diff --git a/convert-sam-for-rsem b/convert-sam-for-rsem index 13b9b13..decf861 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! Plase check if you provide correct parameters/options for the pipeline!"; } + print $errmsg."\n"; exit(-1); } - print STDERR "\n"; + print "\n"; } __END__