JAligner

jaligner
Class SmithWatermanGotoh

java.lang.Object
  extended byjaligner.SmithWatermanGotoh

public final class SmithWatermanGotoh
extends java.lang.Object

An implementation of the Smith-Waterman algorithm with Gotoh's improvement for biological local pairwise sequence alignment. Recursive definition:

Author:
Ahmed Moustafa (ahmed@users.sf.net)

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

align

public static Alignment align(Sequence s1,
                              Sequence s2,
                              Matrix matrix,
                              float o,
                              float e)
Aligns two sequences by Smith-Waterman (local)

Parameters:
s1 - sequene #1 (Sequence)
s2 - sequene #2 (Sequence)
matrix - scoring matrix (Matrix)
o - open gap penalty
e - extend gap penalty
Returns:
alignment object contains the two aligned sequences, the alignment score and alignment statistics
See Also:
Sequence, Matrix

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)