vg
tools for working with variation graphs
|
#include <named_node_back_translation.hpp>
Public Member Functions | |
virtual | ~NamedNodeBackTranslation ()=default |
virtual std::vector< oriented_node_range_t > | translate_back (const oriented_node_range_t &range) const =0 |
virtual std::string | get_back_graph_node_name (const nid_t &back_node_id) const =0 |
This is the interface for a handle graph that stores a mapping back to other named nodes.
|
virtualdefault |
|
pure virtual |
Get the name of a node in the graph that translate_back() translates into, given its number.
Implemented in vg::FlatFileBackTranslation, and vg::algorithms::GFAIDMapInfo.
|
pure virtual |
Translate the given range of bases on the given orientation of the given node in the current graph, to zero or more ranges on orientations of nodes in some prior graph.
Implemented in vg::FlatFileBackTranslation, and vg::algorithms::GFAIDMapInfo.