https://github.com/gregoryv/align
Needleman and Wunsh sequence alignment algorithm
https://github.com/gregoryv/align
align golang needleman sequence
Last synced: about 1 year ago
JSON representation
Needleman and Wunsh sequence alignment algorithm
- Host: GitHub
- URL: https://github.com/gregoryv/align
- Owner: gregoryv
- License: mit
- Created: 2018-02-14T20:35:16.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-11-18T15:43:56.000Z (over 2 years ago)
- Last Synced: 2025-03-30T05:13:17.664Z (about 1 year ago)
- Topics: align, golang, needleman, sequence
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/gregoryv/align)
[](https://codecov.io/gh/gregoryv/align)
[](https://codeclimate.com/github/gregoryv/align/maintainability)
[align](https://godoc.org/github.com/gregoryv/align) - Implements Needleman and Wunsh alignment algorithm
Detailed description is found at [wikipedia Needleman-Wunsch_algorithm](https://en.wikipedia.org/wiki/Needleman%E2%80%93Wunsch_algorithm)
## Fuzzy match example
a := "GCATGCUAAAAAAA"
b := "GATTACAAAAAAAABBB"
if align.Compare(a, b) > 0.7 {
fmt.Println("similar enough")
}