Skip to content

Python command line utility for nucleotide sequence alignment.

Notifications You must be signed in to change notification settings

jtloong/needleman-wunsch-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Needleman–Wunsch.Py

The Needleman–Wunsch algorithm is a dynamic programming method to perform nucelotide or protein sequencing. This simple Python script (hopefully a package), will allow you to perform sequence alignment as a command line utility.

Visualization of the algorithm:

Algorithm demonstration

Usage

To use this command line utility, clone the repo and run:

python run.py --seq1 ACTCG --seq2 ACAGTAG --match 1 --mismatch 0 --gap -1

You can run a sequence of any length and insert your own scoring scheme.

Features

The currently supported features are:

  • Displaying scoring matrix
  • Displaying direction matrix (slightly broken)

Future features include:

  • Displaying final sequence alignment
  • Making it into a true Python package

References

Needleman, S. B. & Wunsch, C. D. (1970). A general method applicable to the search for similarities in the amino acid sequence of two proteins. Journal of Molecular Biology. 48 (3): 443–53. doi:10.1016/0022-2836(70)90057-4.

About

Python command line utility for nucleotide sequence alignment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages