Skip to content

An implementation of the Needleman-Wunsch algorithm for finding the best global alignment of two nucleotides.

Notifications You must be signed in to change notification settings

FrancisLawlor/NeedlemanWunsch

Repository files navigation

Needleman-Wunsch

The Needleman-Wunsch algorithm employs dynamic programming in order to align nucleotide sequences.

This process involves two steps - firstly, calculating the global max similarity matrix, and secondly, tracing back from the bottom right corner of the matrix to find the best global alignment.

This implementation provides the best global downmost alignment.

Run demo:

>cd <local repo>
>javac Main.java
>java Main

Sample output:

Similarity matrix

The back trace from the sample program occurs as follows:

Similarity matrix

About

An implementation of the Needleman-Wunsch algorithm for finding the best global alignment of two nucleotides.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages