Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Smith-Waterman Algorithm

String Algorithm

The Smith-Waterman algorithm performs local sequence alignment, determining similar regions between two strings of nucleic acid or protein sequences by comparing segments of all possible lengths rather than the entire sequence and optimizing the similarity measure. It was first proposed by Temple F. Smith and Michael S. Waterman in 1981. Like the Needleman-Wunsch algorithm, of which it is a variation, Smith-Waterman is a dynamic programming algorithm guaranteed to find the optimal local alignment for the scoring system used; its main difference from Needleman-Wunsch is that negative scoring matrix cells are set to zero, with the traceback procedure starting at the highest-scoring cell and continuing until a cell with a score of zero is reached. Because of its quadratic time complexity it is often replaced in large-scale problems by more computationally efficient alternatives.

Facts
Time Complexity
Time Complexity (category)
Quadratic Time -- O(n^2) 1
Classification
Design Technique
Dynamic Programming 1
Connections

In Field

Source Smith-Waterman algorithm (Wikipedia)

Uses Design Technique

Sources
1. Smith-Waterman Algorithm (Wikipedia)
  • Wikipedia infobox: time complexity quadratic
    quadratic
  • Lead section
    Like the Needleman-Wunsch algorithm, of which it is a variation, Smith-Waterman is a dynamic programming algorithm.
View the Source
Smith-Waterman algorithm (Wikipedia)
  • In Field: Algorithms and Complexity Theory, Lead sentence
    Smith-Waterman algorithm performs local sequence alignment; that is, for determining similar regions between two strings of nucleic acid sequences or protein sequences.
  • In Group: Edit Distance and Sequence Alignment Algorithms, Lead section
    performs local sequence alignment
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.