vg
tools for working with variation graphs
Namespaces | Functions
walk.cpp File Reference
#include "walk.hpp"
#include <gbwtgraph/utils.h>

Namespaces

 vg
 
 vg::algorithms
 

Functions

void vg::algorithms::for_each_walk (const HandleGraph &graph, size_t k, size_t edge_max, const std::function< void(const walk_t &)> &lambda)
 Iterate over all the walks in the graph, running lambda on each. More...
 
std::ostream & vg::algorithms::operator<< (std::ostream &out, const walk_t &walk)
 Print a walk_t to a stream. More...
 
uint64_t vg::algorithms::walk_haplotype_frequency (const HandleGraph &graph, const gbwt::GBWT &haplotypes, const walk_t &walk)
 
std::vector< std::string > vg::algorithms::walk_haplotype_names (const HandleGraph &graph, const gbwt::GBWT &haplotypes, const walk_t &walk)