vg
tools for working with variation graphs
Public Member Functions | List of all members
handlegraph::NamedNodeBackTranslation Class Referenceabstract

#include <named_node_back_translation.hpp>

Inheritance diagram for handlegraph::NamedNodeBackTranslation:
vg::algorithms::GFAIDMapInfo vg::FlatFileBackTranslation

Public Member Functions

virtual ~NamedNodeBackTranslation ()=default
 
virtual std::vector< oriented_node_range_ttranslate_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
 

Detailed Description

This is the interface for a handle graph that stores a mapping back to other named nodes.

Constructor & Destructor Documentation

◆ ~NamedNodeBackTranslation()

virtual handlegraph::NamedNodeBackTranslation::~NamedNodeBackTranslation ( )
virtualdefault

Member Function Documentation

◆ get_back_graph_node_name()

virtual std::string handlegraph::NamedNodeBackTranslation::get_back_graph_node_name ( const nid_t back_node_id) const
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.

◆ translate_back()

virtual std::vector<oriented_node_range_t> handlegraph::NamedNodeBackTranslation::translate_back ( const oriented_node_range_t range) const
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.


The documentation for this class was generated from the following file: