vg
tools for working with variation graphs
Static Public Member Functions | List of all members
bdsg::ODGI::edge_helper Struct Reference

Static Public Member Functions

static uint8_t pack (bool on_rev, bool other_rev, bool to_curr)
 
static uint8_t unpack_on_rev (uint8_t edge)
 
static uint8_t unpack_other_rev (uint8_t edge)
 
static uint8_t unpack_to_curr (uint8_t edge)
 

Detailed Description

edge type conversion 1 = fwd->fwd, 2 = fwd->rev, 3 = rev->fwd, 4 = rev->rev

Member Function Documentation

◆ pack()

static uint8_t bdsg::ODGI::edge_helper::pack ( bool  on_rev,
bool  other_rev,
bool  to_curr 
)
inlinestatic

◆ unpack_on_rev()

static uint8_t bdsg::ODGI::edge_helper::unpack_on_rev ( uint8_t  edge)
inlinestatic

◆ unpack_other_rev()

static uint8_t bdsg::ODGI::edge_helper::unpack_other_rev ( uint8_t  edge)
inlinestatic

◆ unpack_to_curr()

static uint8_t bdsg::ODGI::edge_helper::unpack_to_curr ( uint8_t  edge)
inlinestatic

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