vg
tools for working with variation graphs
|
Type to point to an alignment of a known read. More...
Public Member Functions | |
template<typename NestedArray > | |
auto | lookup_for_read_in (bool read, NestedArray &a) const -> typename std::add_lvalue_reference< decltype(a[0][0][0])>::type |
template<typename NestedArray > | |
void | check_for_read_in (bool read, NestedArray &a) const |
bool | operator== (const read_alignment_index_t &other) |
bool | operator!= (const read_alignment_index_t &other) |
Public Attributes | |
size_t | fragment |
size_t | alignment |
Type to point to an alignment of a known read.
|
inline |
Make sure that this index actually points to an alignment of the given read in the given structure. Throws if not.
|
inline |
Allow looking up this index in a structure organized by fragment, read, and alignment, such as in alignments, or alignment_indices.
|
inline |
|
inline |
size_t vg::read_alignment_index_t::alignment |
size_t vg::read_alignment_index_t::fragment |