Life is written in a four-letter alphabet, and evolution edits the text. A gene in a mouse and the matching gene in a human read almost the same, but with a few letters swapped, a few inserted, a few deleted. Sequence alignment is how biologists line up these texts so that the columns reveal what was conserved and what changed.
For two sequences, the answer is clean: a classic dynamic-programming algorithm finds the single best alignment in time proportional to the product of their lengths. Slide letters left or right, open a gap where one sequence has an insertion, and read off the optimal score.
But biology rarely works with just two. To study a protein family, a viral outbreak, or the tree of life, you align three, ten, a thousand sequences at once. And the moment you ask for the optimal alignment of many sequences, the tidy two-sequence story collapses into one of the hardest problems we know.
Comments
Loading comments...