+ fix version before moving to new format
authorfabio <fabio@e1793c9e-67f9-0310-80fc-b846ff1f7b36>
Tue, 29 Jul 2008 10:44:03 +0000 (10:44 +0000)
committerfabio <fabio@e1793c9e-67f9-0310-80fc-b846ff1f7b36>
Tue, 29 Jul 2008 10:44:03 +0000 (10:44 +0000)
git-svn-id: http://svn.tuebingen.mpg.de/ag-raetsch/projects/QPalma@10216 e1793c9e-67f9-0310-80fc-b846ff1f7b36

scripts/PipelineHeuristic.py

index 7f8dea2..5f7a2f6 100644 (file)
@@ -105,7 +105,7 @@ class PipelineHeuristic:
       self.mmatrix = mmatrix
       self.qualityPlifs = qualityPlifs
 
-      #self.read_size    = 36
+      self.read_size    = 36
 
       # parameters of the heuristics to decide whether the read is spliced
       #self.splice_thresh      = 0.005
@@ -235,7 +235,7 @@ class PipelineHeuristic:
 
          # forgot to do this
          if strand == '-':
-            pos = self.lt1.seqInfo.chromo_sizes[chromo+7]-pos-self.read_size
+            pos = self.lt1.seqInfo.chromo_sizes[chr+7]-pos-self.read_size
             unb_seq = reverse_complement(unb_seq)
 
          effective_len = len(unb_seq)