vg
tools for working with variation graphs
|
#include <traversal_finder.hpp>
Public Member Functions | |
SupportRestrictedTraversalFinder (AugmentedGraph &augmented_graph, SnarlManager &snarl_manager, int min_node_support=1, int min_edge_support=1, bool include_reversing_traversals=false) | |
virtual | ~SupportRestrictedTraversalFinder () |
Public Member Functions inherited from vg::ExhaustiveTraversalFinder | |
ExhaustiveTraversalFinder (const HandleGraph &graph, SnarlManager &snarl_manager, bool include_reversing_traversals=false) | |
virtual | ~ExhaustiveTraversalFinder () |
virtual vector< SnarlTraversal > | find_traversals (const Snarl &site) |
Public Member Functions inherited from vg::TraversalFinder | |
virtual | ~TraversalFinder ()=default |
virtual vector< Traversal > | find_traversals (const handle_t &snarl_start, const handle_t &snarl_end) |
Public Attributes | |
AugmentedGraph & | aug |
int | min_node_support |
int | min_edge_support |
Protected Member Functions | |
virtual bool | visit_next_node (const Node *, const Edge *) |
Protected Member Functions inherited from vg::ExhaustiveTraversalFinder | |
void | stack_up_valid_walks (handle_t walk_head, vector< Visit > &stack) |
virtual bool | visit_next_node (handle_t handle) |
void | add_traversals (vector< SnarlTraversal > &traversals, handle_t traversal_start, unordered_set< handle_t > &stop_at, unordered_set< handle_t > &yield_at) |
Does exhaustive traversal, but restricting to nodes and edges that meet support thresholds (counts of reads that touch them, taken from augmented graph).
vg::SupportRestrictedTraversalFinder::SupportRestrictedTraversalFinder | ( | AugmentedGraph & | augmented_graph, |
SnarlManager & | snarl_manager, | ||
int | min_node_support = 1 , |
||
int | min_edge_support = 1 , |
||
bool | include_reversing_traversals = false |
||
) |
|
virtual |
|
protectedvirtual |
AugmentedGraph& vg::SupportRestrictedTraversalFinder::aug |
int vg::SupportRestrictedTraversalFinder::min_edge_support |
int vg::SupportRestrictedTraversalFinder::min_node_support |