|
vg
tools for working with variation graphs
|
#include <chain_items.hpp>
Public Member Functions | |
| size_t | read_start () const |
| Get the start position in the read of this anchor's match. | |
| const pos_t & | graph_start () const |
| Get the start position in the graph of this anchor's match. | |
| size_t | length () const |
| Get the length of this anchor's match. | |
| int | score () const |
| Get the alignment score of the anchor. | |
| size_t | read_end () const |
| Get the end position in the read of this anchor's match. | |
| pos_t | graph_end () const |
| Get the end position in the graph of this anchor's match. | |
| Anchor (size_t read_start, const pos_t &graph_start, size_t length, int score) | |
| Compose a read start position, graph start position, and match length into an Anchor. | |
| Anchor ()=default | |
| Anchor (const Anchor &other)=default | |
| Anchor & | operator= (const Anchor &other)=default |
| Anchor (Anchor &&other)=default | |
| Anchor & | operator= (Anchor &&other)=default |
Protected Attributes | |
| size_t | start |
| size_t | size |
| pos_t | pos |
| int | points |
Represents a piece fo a graph node matching to a piece of a read. Can be chained together.
|
inline |
Compose a read start position, graph start position, and match length into an Anchor.
|
default |
|
default |
|
default |
|
inline |
Get the end position in the graph of this anchor's match.
|
inline |
Get the start position in the graph of this anchor's match.
|
inline |
Get the length of this anchor's match.
|
inline |
Get the end position in the read of this anchor's match.
|
inline |
Get the start position in the read of this anchor's match.
|
inline |
Get the alignment score of the anchor.
|
protected |
|
protected |
|
protected |
|
protected |
1.9.8