Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aebruno/nwalgo
Needleman-Wunsch Alignment in Go
https://github.com/aebruno/nwalgo
bioinformatics global-alignment go
Last synced: about 2 months ago
JSON representation
Needleman-Wunsch Alignment in Go
- Host: GitHub
- URL: https://github.com/aebruno/nwalgo
- Owner: aebruno
- License: mit
- Created: 2015-03-06T03:34:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-11-09T19:43:02.000Z (about 4 years ago)
- Last Synced: 2024-10-02T09:05:27.363Z (3 months ago)
- Topics: bioinformatics, global-alignment, go
- Language: Go
- Size: 601 KB
- Stars: 12
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===============================================================================
nwalgo - Needleman-Wunsch Alignment in Go
===============================================================================-------------------------------------------------------------------------------
About
-------------------------------------------------------------------------------An implementation of the Needleman-Wunsch global alignment algorithm [1] in Go.
Computes the alignment score and optimal global alignment.-------------------------------------------------------------------------------
Install
-------------------------------------------------------------------------------Fetch from github::
$ go get github.com/aebruno/nwalgo/...
-------------------------------------------------------------------------------
Usage
-------------------------------------------------------------------------------Align 2 DNA sequences::
$ nwalgo -seq1 GAAAAAAT -seq2 GAAT
GAAAAAAT
GAA----T
Score: 0From code::
package main
import (
"github.com/aebruno/nwalgo"
)func main() {
aln1, aln2, score := nwalgo.Align("GAAAAAAT", "GAAT", 1, -1, -1)
}-------------------------------------------------------------------------------
References
-------------------------------------------------------------------------------[1] http://en.wikipedia.org/wiki/Needleman-Wunsch_algorithm