git-svn-id: http://svn.tuebingen.mpg.de/ag-raetsch/projects/QPalma@8596 e1793c9e...
authorraetsch <raetsch@e1793c9e-67f9-0310-80fc-b846ff1f7b36>
Thu, 17 Apr 2008 19:25:04 +0000 (19:25 +0000)
committerraetsch <raetsch@e1793c9e-67f9-0310-80fc-b846ff1f7b36>
Thu, 17 Apr 2008 19:25:04 +0000 (19:25 +0000)
qpalma/computeSpliceAlignWithQuality.py

index 5ffc725..368877f 100644 (file)
@@ -211,12 +211,12 @@ def  computeSpliceAlignScoreWithQuality(dna, exons, est, original_est, quality,
        ptr=0 
        while ptr<len(original_est_mapped):
            
-           if original_est[ptr]==10: #'[':
+           if original_est_mapped[ptr]==10: #'[':
                dnaletter=original_est_mapped[ptr+1]
                estletter=original_est_mapped
                ptr+=4 
            else:
-               dnaletter=original_est[ptr+2][ptr]
+               dnaletter=original_est_mapped[ptr+2][ptr]
                estletter=dnaletter
                ptr+=1
            if estletter==0:# '-':