|
JAligner | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jaligner.SmithWatermanGotoh
An implementation of the Smith-Waterman algorithm with Gotoh's improvement for biological local pairwise sequence alignment. Recursive definition:
V(0, 0) = 0
V(i, 0) = E(i, 0) = Wg + iWs
V(0, j) = F(0, j) = Wg + jWs
V(i, j) = max{E(i, j), F(i, j), G(i, j)}
, where:G(i, j) = V(i - 1, j - 1) + similarity(Si, Tj)
E(i, j) = max{E(i, j - 1) + Ws, V(i, j - 1) + Wg + Ws}
F(i, j) = max{F(i - 1, j) + Ws, V(i - 1, j) + Wg + Ws}
Method Summary | |
static Alignment |
align(Sequence s1,
Sequence s2,
Matrix matrix,
float o,
float e)
Aligns two sequences by Smith-Waterman (local) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Alignment align(Sequence s1, Sequence s2, Matrix matrix, float o, float e)
s1
- sequene #1 (Sequence
)s2
- sequene #2 (Sequence
)matrix
- scoring matrix (Matrix
)o
- open gap penaltye
- extend gap penalty
Sequence
,
Matrix
|
JAligner | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Ahmed Moustafa (ahmed@users.sf.net) | |
The source code of JAligner is licensed under The GNU General Public License (GPL) |