Next: Results
Up: Spliced Alignment
Previous: Spliced alignment algorithm
Define
.
The recursive relation for S(i,j,k) can be
presented as:
The value of P(i,j) can be achieved by an alignment of
ending before the (i-1)'th position (=P(i-1,j)) or
exactly at the (i-1)'th position (=
). Therefore, the recursive relation for P(i,j) is:
The
space complexity remains O(nmL), however the time complexity is
now reduced to O(nmL) (instead of O(nmL2)).
Peer Itsik
2000-12-25