Skip to main content
100%

Gist 0b2fc1de581870e9c573c5a203d3b293

✓ Published0🌍 Public
WWanagram
Last edited Apr 29, 2016
Created on Apr 17, 2016

This example demonstrates global sequence alignment using the Needleman-Wunsch algorithm, comparing two nucleotide strings ("ATGCGAATCGC" and "ATCCTACCG"). It shows the dynamic programming score matrix via `console.table`, then performs a traceback to reconstruct the optimal alignment, printing both aligned sequences with gaps denoted by underscores. The visualization relies on plain JavaScript arrays and recursive functions, with no external libraries, rendering results purely through console output.

AI-generated description

Similar vizzes