eseraygun / python-alignment

Native Python library for generic sequence alignment
BSD 3-Clause "New" or "Revised" License
55 stars 14 forks source link

Allow less greedy insertion/deletion #10

Open bertsky opened 5 years ago

bertsky commented 5 years ago

I am not sure whether there even exists a metric for this: if there is a segment where both sequences deviate a lot in their length, then the current algorithm will do as many substitutions to the left as possible and fill up the rest by insertions/deletions. Wouldn't it be fairer if it tried to distribute those more evenly across the segment's symbol mass?