wunsch

needleman-wunsch algorithm in js

Usage no npm install needed!

<script type="module">
  import wunsch from 'https://cdn.skypack.dev/wunsch';
</script>

README

perform needleman wunsch alignment

wunsch [OPTIONS...] [INPUTA] [INPUTB]

EXAMPLE        wunsch GATTACA GCATGCU
               InputA  GAT-TACA
               InputB  G-CATGCU
               aln     : . :.:.
               score -1
               ---

EXAMPLE        wunsch GATTACA GCATGCU --min
               InputA InputB -1

INPUT          can be a string or a filename. If any file contains
               multiple fasta seqeuences, each possible sequence
               combination between the two lists will be calculated.

OPTIONS
  --gap        set gap penalty (default -1)
  --miss       set missmatch penalty (default -1)
  --match      set match penalty (default 1)
  --help -h    show this help
  --min  -m    show minimal output: headingA headingB score
  --verbose -v show verbose output

AUTHOR Waldemar Reusch <waldemar.reusch@googlemail.com>

//