vg
tools for working with variation graphs
Classes | Namespaces | Functions
walk.hpp File Reference
#include <iostream>
#include <string>
#include <list>
#include <handlegraph/util.hpp>
#include <handlegraph/handle_graph.hpp>
#include <gbwt/gbwt.h>
#include "position.hpp"
#include "gbwt_helper.hpp"

Classes

struct  vg::algorithms::walk_t
 Record a <=k-length walk in the context of a graph. More...
 

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)
 

Detailed Description

Functions for working with kmers_t's in HandleGraphs.