git-svn-id: http://svn.tuebingen.mpg.de/ag-raetsch/projects/QPalma@8624 e1793c9e...
authorraetsch <raetsch@e1793c9e-67f9-0310-80fc-b846ff1f7b36>
Thu, 17 Apr 2008 20:44:25 +0000 (20:44 +0000)
committerraetsch <raetsch@e1793c9e-67f9-0310-80fc-b846ff1f7b36>
Thu, 17 Apr 2008 20:44:25 +0000 (20:44 +0000)
scripts/PipelineHeuristic.py

index 695ef26..5e093db 100644 (file)
@@ -388,11 +388,11 @@ class PipelineHeuristic:
          computeSpliceWeights(d, a, h, trueSpliceAlign, don_supp, acc_supp)
 
          for i in xrange(0,len(trueWeightDon)):
-             trueWeightDon[0]=0.0
+             trueWeightDon[i]=0.0
          for i in xrange(0,len(trueWeightAcc)):
-             trueWeightAcc[0]=0.0
+             trueWeightAcc[i]=0.0
          for i in xrange(0,len(trueWeightIntron)):
-             trueWeightIntron[0]=0.0
+             trueWeightIntron[i]=0.0
          
          stop = cpu()
          self.computeSpliceWeightsTime += stop-start
@@ -440,7 +440,7 @@ class PipelineHeuristic:
 
          # new score
          DonorScore = calculatePlif(d, [don_score])[0]
-         print 'don: %f,%f' % (DonorScore, don_score)
+         #print 'don: %f,%f' % (DonorScore, don_score)
          
          score = computeSpliceAlignScoreWithQuality(original_est_cut, quality, qualityPlifs, run, self.currentPhi)
          #score += dummyAcceptorScore + IntronScore + DonorScore