Online Lectures on Bioinformatics
|
Suboptimal AlignmentsSuboptimal pointsDefinition:Given two sequences with an optimal alignment score s. An The following simple observation leads to a method to calculate the set of suboptimal points. Let a residue pair in the middle of a type I alignment be fixed. The score of the entire alignment is the sum of the scores from its left end to (and including) a pair plus the score of the remainder of the alignment (not counting the weight of the pair). The matrix L(i,j) that was defined in Algorithm A-I of Section 2.2 contains exactly the scores for alignments from the beginning of the sequences to a matrix point. In the current context we have to call this matrix L- but calculate it according to the same rule as before
Initial settings depend on whether end gaps are penalized or not. Generally L-(1,i) (L-(j,1)) is w(1,i) (w(j,1)) thus not penalizing gaps at the left end.
The score of an alignment proceeding from a matrix point to the end can be
calculated by inverting the order of execution in the above algorithm
(this corresponds to performing the same procedure on the dual of the
type I graph). The resulting matrix L+ is calculated by
The order of computation is from (|s|, |t|) back along each row down to (1,1). Initialization has to be done in the same way as for the computation of L-, e.g.
L-(i,j) + L+(i,j)-w(i,j).
Based on this observation the ( For linear gap penalty functions the computation of L- and L+ can be accelerated using the same improvement as in algorithm A-II-l of Chapter 2. An algorithm similar to SOP was proposed by Sellers ([Sel79],[Sel80]) for type II alignments and by Boswell and McLachlan [BoM84] for type I alignments.
It is easy to see that the maximal value assumed in
Comments are very welcome. luz@molgen.mpg.de |