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

Is there a suffix mode? #188

Closed chenzhiw closed 2 years ago

chenzhiw commented 2 years ago

There are three modes now, global prefix and infix. Is there a suffix mode which gap at query start is not penalized, at query end is penalized?

chenzhiw commented 2 years ago

How to manage tha label, not a bug.

Martinsos commented 2 years ago

Hey, unfortunately there is no suffix mode, but I am guessing you could accomplish that by using prefix mode on reversed query? Is there a reason why that would not be a good solution?

Martinsos commented 2 years ago

Closing for now, but feel free to ask more if needed!