Professional Documents
Culture Documents
Lecture 7 PDF
Lecture 7 PDF
Lecture No: 7
Dynamic Programming
Approach- Smith-Waterman
Algorithm problem solving
Smith and Waterman (local alignment)
Two differences:
0
1.
F(i, j) = F(i-1, j-1) + s(xi ,yj)
F(i, j) = max
F(i, j) = F(i-1, j) - d
F(i, j) = F(i, j-1) - d
2. An alignment can now end anywhere in the matrix
Example:
Sequence 1 HEAGAWGHE E
Sequence 2 PAW H EAE
Scoring parameters: BLOSUM
Gap penalty: Linear gap penalty of 8