Class SmithWaterman<S extends org.biojava.nbio.core.sequence.template.Sequence<C>,​C extends org.biojava.nbio.core.sequence.template.Compound>

  • Type Parameters:
    S - each Sequence of the alignment pair is of type S
    C - each element of an AlignedSequence is a Compound of type C
    All Implemented Interfaces:
    Aligner<S,​C>, MatrixAligner<S,​C>, PairwiseSequenceAligner<S,​C>, PairwiseSequenceScorer<S,​C>, Scorer

    public class SmithWaterman<S extends org.biojava.nbio.core.sequence.template.Sequence<C>,​C extends org.biojava.nbio.core.sequence.template.Compound>
    extends AbstractPairwiseSequenceAligner<S,​C>
    Smith and Waterman defined an algorithm for pairwise local sequence alignments (best match of sections from each Sequence). This class performs such local sequence comparisons efficiently by dynamic programming.
    Author:
    Mark Chapman