Skip to content

A WASM package of Needleman-Wunsch & Smith-Waterman sequence alignment.

License

Notifications You must be signed in to change notification settings

SpeechifyInc/seal-wasm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This package is a typescript interface for the seal rust crate.

It exports swAlign for Smith-Waterman and nwAlign for Needleman-Wunsch.

Example

const result = swAlign(
  'The quick brown fox jumps over the lazy dog.',
  'The brown dog jumps over the very lazy snail.',
  { alignment: 'local', equal: 2, align: -1, insert: -1, delete: -1 }
)
// result {
//   alignedLeft: "The brown fox jumps over the lazy "
//   alignedRight: "The brown dog jumps over the lazy "
//   originalLeft: "The quick brown fox jumps over the lazy dog."
//   originalRight: "The brown dog jumps over the very lazy snail."
//   representation: "====------======!=!================+++++====="
//   score: 51
// }

About

A WASM package of Needleman-Wunsch & Smith-Waterman sequence alignment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 87.6%
  • TypeScript 8.4%
  • JavaScript 3.3%
  • HTML 0.7%