Gotoh Algorithm Visualizer

Pairwise Sequence Alignment with Affine Gap Costs



Ready to start
Press Next Step to begin the algorithm.

S Matrix

V Matrix

H Matrix

🟨 Current cell   🟦 Previous cell   🟩 Selected predecessor
↖ Diagonal   ↑ Vertical   ← Horizontal

Final Alignment