vgteam / libhandlegraph

Library for the Handle Graph abstraction
MIT License
20 stars 3 forks source link

Add NamedNodeBackTranslation and refactor BoolReturningWrapper #73

Closed adamnovak closed 2 years ago

adamnovak commented 2 years ago

This adds a NamedNodeBackTranslation for graphs that can translate a range on one of their nodes into ranges on other nodes, where those other nodes have names.

This is meant to represent the lowest common denominator functionality for translating back to GFA segment coordinates.

Also, I've refactored BoolReturningWrapper so it no longer needs the argument type. I meant to use this for iteratees with multiple arguments, but I turned out not to actually need any of those (in here).