vg
tools for working with variation graphs
|
Public Types | |
enum | graph_type { graph_none, graph_path, graph_source, graph_gbz, graph_gbwtgraph } |
Public Member Functions | |
const PathHandleGraph * | get_any_graph (const GBWTConfig &config) |
void | get_graph (const GBWTConfig &config) |
void | use (std::unique_ptr< gbwtgraph::SequenceSource > &source) |
void | load_gbz (GBWTHandler &gbwts, GBWTConfig &config) |
void | load_gbwtgraph (GBWTHandler &gbwts, GBWTConfig &config) |
void | clear () |
void | serialize_segment_translation (const GBWTConfig &config) const |
Public Attributes | |
std::unique_ptr< PathHandleGraph > | path_graph = nullptr |
std::unique_ptr< gbwtgraph::SequenceSource > | sequence_source = nullptr |
std::unique_ptr< gbwtgraph::GBWTGraph > | gbwt_graph = nullptr |
graph_type | in_use = graph_none |
void GraphHandler::clear | ( | ) |
const PathHandleGraph * GraphHandler::get_any_graph | ( | const GBWTConfig & | config | ) |
void GraphHandler::get_graph | ( | const GBWTConfig & | config | ) |
void GraphHandler::load_gbwtgraph | ( | GBWTHandler & | gbwts, |
GBWTConfig & | config | ||
) |
void GraphHandler::load_gbz | ( | GBWTHandler & | gbwts, |
GBWTConfig & | config | ||
) |
void GraphHandler::serialize_segment_translation | ( | const GBWTConfig & | config | ) | const |
void GraphHandler::use | ( | std::unique_ptr< gbwtgraph::SequenceSource > & | source | ) |
std::unique_ptr<gbwtgraph::GBWTGraph> GraphHandler::gbwt_graph = nullptr |
graph_type GraphHandler::in_use = graph_none |
std::unique_ptr<PathHandleGraph> GraphHandler::path_graph = nullptr |
std::unique_ptr<gbwtgraph::SequenceSource> GraphHandler::sequence_source = nullptr |