Martinsos / edlib

Lightweight, super fast C/C++ (& Python) library for sequence alignment using edit (Levenshtein) distance.
http://martinsos.github.io/edlib
MIT License
492 stars 162 forks source link

Does it support to customize the penalty? #180

Closed yanlolo closed 3 years ago

yanlolo commented 3 years ago

Hey @Martinsos, it's really a nice lib!

May I ask whether edlib support to set the value for match, mismatch, gap open and gap extension? Seems not for the moment.

Martinsos commented 3 years ago

Hi @yanlolo , unfortunately no -> edlib is an edit distance library (therefore "ed" in "edlib"), and edit distance has fixed values of match, mismatch, gap open and gap extension. There are however other libraries out there that don't do just edit distance, they should be a better match for you if you need that.