Skip to content

Commit

Permalink
Fixed bugs to add .time
Browse files Browse the repository at this point in the history
  • Loading branch information
bli25 committed Apr 6, 2019
1 parent e6e14db commit abb1eda
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rsem-calculate-expression
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,15 @@ if ($mTime) { $time_start = time(); }

if ($no_aligned) {
print "Since no aligned reads, further steps will not be performed!\n";
if (!$keep_intermediate_files) {
&runCommand("rm -rf $temp_dir", "Fail to delete the temporary folder!");
}
if ($mTime) {
open(OUTPUT, ">$sampleName.time");
print OUTPUT "Aligning reads: $time_alignment s.\n";
print OUTPUT "Estimating expression levels: $time_rsem s.\n";
close(OUTPUT);
}
exit(0);
}

Expand Down

0 comments on commit abb1eda

Please sign in to comment.