|
vg
tools for working with variation graphs
|
Public Member Functions | |
| WFANode (const gbwtgraph::CachedGBWTGraph &graph, const gbwt::SearchState &state, pos_t target, std::uint32_t parent) | |
| size_t | length () const |
| bool | is_leaf () const |
| bool | expanded () const |
| MatchPos | find_pos (size_t type, int32_t score, int32_t diagonal, const MatchPos::PathList &path) const |
| void | update (size_t type, int32_t score, int32_t diagonal, const MatchPos &pos) |
| void | update (size_t type, int32_t score, int32_t diagonal, uint32_t seq_offset, uint32_t node_offset) |
| void | match_forward (const std::string &sequence, MatchPos &pos) const |
Public Attributes | |
| gbwt::vector_type | path |
| gbwt::SearchState | state |
| std::string | node_sequence |
| std::uint32_t | parent |
| std::vector< std::uint32_t > | children |
| std::uint32_t | target_offset |
| bool | dead_end |
| std::array< hash_map< WFAPoint::key_type, WFAPoint::value_type >, 3 > | wavefronts |
Static Public Attributes | |
| static constexpr size_t | TARGET_LENGTH = 1024 |
| static constexpr size_t | MATCHES = 0 |
| static constexpr size_t | INSERTIONS = 1 |
| static constexpr size_t | DELETIONS = 2 |
Private Member Functions | |
| bool | append_node (const gbwtgraph::CachedGBWTGraph &graph, gbwt::SearchState next, pos_t target) |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::vector<std::uint32_t> vg::WFANode::children |
| bool vg::WFANode::dead_end |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| std::string vg::WFANode::node_sequence |
| std::uint32_t vg::WFANode::parent |
| gbwt::vector_type vg::WFANode::path |
| gbwt::SearchState vg::WFANode::state |
|
staticconstexpr |
| std::uint32_t vg::WFANode::target_offset |
| std::array<hash_map<WFAPoint::key_type, WFAPoint::value_type>, 3> vg::WFANode::wavefronts |
1.17.0