seal-wasm
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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
// }

Readme

Keywords

none

Package Sidebar

Install

npm i seal-wasm

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

64.6 kB

Total Files

16

Last publish

Collaborators

  • banou26