next up previous
Next: Global Alignment in linear Up: Global Alignment Previous: Tabular computation of optimal

   
The Traceback

One way to traceback the alignments is to establish pointers in the cells of the table as the values are computed. The direction of the pointers in cell (i,j) indicates which cell contributed the most to V(i,j).


  
Figure 2.2: Backtracing the alignment

\fbox{ \input{lec02_figs/lec02_backtracing.latex}}





Theorem 2.9   The time complexity of the algorithm is O(nm). Space complexity is O(n+m), if only V(S,T) is required and O(mn) for the reconstruction of the alignment.

Proof:


next up previous
Next: Global Alignment in linear Up: Global Alignment Previous: Tabular computation of optimal
Itshack Pe`er
1999-01-03