- Dynamic programming is used to find the optimal alignment between two protein sequences by recursively computing sub-alignments and storing them in a lookup table.
- The example shows calculating the alignment score between a zinc-finger core sequence and a viral sequence fragment by filling a table and tracking the cumulative scores.
- Filling the table from left to right and top to bottom allows reconstructing the highest scoring alignment between the two sequences.