vg
tools for working with variation graphs
Classes | Namespaces | Functions
phase_unfolder.cpp File Reference
#include "phase_unfolder.hpp"
#include "progress_bar.hpp"
#include "algorithms/disjoint_components.hpp"
#include <cassert>
#include <iostream>
#include <map>
#include <set>

Classes

struct  vg::PathBranch
 

Namespaces

 vg
 

Functions

vg::id_t vg::path_node (const vector< pair< vg::id_t, bool >> &path, size_t i)
 
vg::id_t vg::path_node (const gbwt::vector_type &path, size_t i)
 
size_t vg::path_size (const vector< pair< vg::id_t, bool >> &path)
 
size_t vg::path_size (const gbwt::vector_type &path)
 
bool vg::path_reverse (const vector< pair< vg::id_t, bool >> &path, size_t i)
 
bool vg::path_reverse (const gbwt::vector_type &path, size_t i)
 
std::ostream & vg::operator<< (std::ostream &out, PathBranch branch)
 
template<class PathType >
bool vg::verify_path (const PathType &path, MutableHandleGraph &unfolded, const hash_map< vg::id_t, std::vector< vg::id_t >> &reverse_mapping)
 
template<class Decoder >
void vg::printId (vg::id_t id)
 
PhaseUnfolder::path_type vg::canonical_orientation (const PhaseUnfolder::path_type &path, bool &from_border, bool &to_border)