@@ -408,24 +408,6 @@ expandBandedMatrix gap tcm lesserLeft longerTop mCost mDir po co = updateBand
408
408
409
409
let (write, internalCell, leftColumn, leftBoundary, rightBoundary, rightColumn) = cellDefinitions gap longerTop cost tcm mCost mDir
410
410
411
- {-
412
- let computeCell leftElement insertCost i j = {- # SCC recomputeCell #-}
413
- let topElement = symbolAlignmentMedian $ longerTop ! (j - 1)
414
- deleteCost = cost topElement gap
415
- (alignElem, alignCost) = tcm topElement leftElement
416
- in do
417
- diagCost <- M.unsafeRead mCost (i - 1, j - 1)
418
- topCost <- M.unsafeRead mCost (i - 1, j )
419
- leftCost <- M.unsafeRead mCost (i , j - 1)
420
- oldCost <- M.unsafeRead mCost (i , j )
421
- let e@(c,_) = getMinimalResult gap alignElem
422
- [ ( alignCost + diagCost, DiagArrow)
423
- , (deleteCost + leftCost, LeftArrow)
424
- , (insertCost + topCost, UpArrow )
425
- ]
426
- write (i,j) e
427
- pure (c == oldCost, j+1)
428
- -}
429
411
let computeCell leftElement insertCost i j = {-# SCC recomputeCell #-} do
430
412
e@ (c,_) <- internalCell leftElement insertCost i j
431
413
oldCost <- M. unsafeRead mCost (i , j )
0 commit comments