vg
tools for working with variation graphs
Namespaces | Functions
cluster.cpp File Reference
#include <string>
#include <algorithm>
#include <utility>
#include <cstring>
#include "cluster.hpp"
#include "algorithms/subgraph.hpp"
#include "algorithms/extract_containing_graph.hpp"
#include "utility.hpp"

Namespaces

 vg
 

Functions

vector< pair< gcsa::node_type, size_t > > vg::mem_node_start_positions (const HandleGraph &graph, const vg::MaximalExactMatch &mem)
 get the handles that a mem covers More...
 
bdsg::HashGraph vg::cluster_subgraph_containing (const HandleGraph &base, const Alignment &aln, const vector< vg::MaximalExactMatch > &cluster, const GSSWAligner *aligner)
 return a containing subgraph connecting the mems More...
 
bdsg::HashGraph vg::cluster_subgraph_walk (const HandleGraph &base, const Alignment &aln, const vector< vg::MaximalExactMatch > &mems, double expansion)