vgteam / gssw

efficient alignment of strings to partially ordered string graphs
33 stars 17 forks source link

Update to interface in pinning algorithm #25

Closed jeizenga closed 5 years ago

jeizenga commented 5 years ago

I uncovered some shortcomings in the pinned alignment interface, specifically with the heuristic of pinning to all sink nodes. Turns out that this can force the alignment to take an indel that it would be otherwise not inclined to in some cases. I'm circumventing the problem by providing the option for the calling environment to specify pinning points rather than having gssw choose them automatically.