Skip to content
forked from aebruno/nwalgo

Needleman-Wunsch Alignment in Go

License

Notifications You must be signed in to change notification settings

speechly/nwalgo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: 0

From 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

About

Needleman-Wunsch Alignment in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%