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

index 96b61da..0863560 100644 (file)
@@ -188,8 +188,8 @@ def  computeSpliceAlignScoreWithQuality(dna, exons, est, original_est, quality,
    lengthP = weightvector[0:lengthSP]
    donP = weightvector[lengthSP:lengthSP+donSP]
    accP = weightvector[donSP+lengthSP:donSP+lengthSP+accSP]
-   mmatrixP = weightvector[accSP+donSP+lengthSP:accSP+donSP+lengthSP+mmatrixP]
-   numqP = weightvector[accSP+donSP+lengthSP+mmatrixP:accSP+donSP+lengthSP+mmatrixP+numq]
+   mmatrixP = weightvector[accSP+donSP+lengthSP:accSP+donSP+lengthSP+mmatrixSP]
+   numqP = weightvector[accSP+donSP+lengthSP+mmatrixSP:accSP+donSP+lengthSP+mmatrixSP+numq]
    numQualSuppPoints=run['numQualSuppPoints']
    
    map = {'-':0, 'a':1, 'c':2, 'g':3, 't':4, 'n':5, '[': 10, ']':11}