]> git.donarmstrong.com Git - rsem.git/blobdiff - rsem-calculate-expression
Fixed bugs in the Gibbs sampler. Fixed a bug which will set probF to 0 if the protoco...
[rsem.git] / rsem-calculate-expression
index de412ae8227e5427ced5b5bb78883cd863a8adad..7826ec72680bc551f7c4a167d53e2d9d0b830905 100755 (executable)
@@ -173,7 +173,7 @@ if (!$is_sam && !$is_bam) {
     if ($read_type == 2 || $read_type == 3) { $command .= " -I $minL -X $maxL"; }
     
     if ($strand_specific || $probF == 1.0) { $command .= " --norc"; }
-    elsif ($probF = 0.0) { $command .= " --nofw"; }
+    elsif ($probF == 0.0) { $command .= " --nofw"; }
 
     $command .= " -p $nThreads -a -m $maxHits -S";
     if ($quiet) { $command .= " --quiet"; }
@@ -344,7 +344,7 @@ sub collectResults {
        ++$cnt;
        chomp($line);
        my @local_arr = split(/\t/, $line);
-       if ($cnt == 3) { @comment = @local_arr; }
+       if ($cnt == 4) { @comment = @local_arr; }
        else { push(@results, \@local_arr); }
     }