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

index 368877f..598cbc5 100644 (file)
@@ -213,10 +213,10 @@ def  computeSpliceAlignScoreWithQuality(dna, exons, est, original_est, quality,
            
            if original_est_mapped[ptr]==10: #'[':
                dnaletter=original_est_mapped[ptr+1]
-               estletter=original_est_mapped
+               estletter=original_est_mapped[ptr+2]
                ptr+=4 
            else:
-               dnaletter=original_est_mapped[ptr+2][ptr]
+               dnaletter=original_est_mapped[ptr]
                estletter=dnaletter
                ptr+=1
            if estletter==0:# '-':