$command = $dir."rsem-gen-transcript-plots $ARGV[0] $ARGV[1] $gene_list $show_unique $ARGV[2]";
&runCommand($command);
+
# command, {err_msg}
sub runCommand {
print $_[0]."\n";
if ($status != 0) {
my $errmsg;
if (scalar(@_) > 1) { $errmsg = $_[1]; }
- else { $errmsg = "\"$command\" failed! Plase check if you provide correct parameters/options for the pipeline!"; }
+ else { $errmsg = "\"$command\" failed! Please check if you provide correct parameters/options for the pipeline!"; }
print $errmsg."\n";
exit(-1);
}