vg
tools for working with variation graphs
|
#include <vg/vg.pb.h>
#include "types.hpp"
#include "utility.hpp"
#include "json2pb.h"
#include <gcsa/gcsa.h>
#include "handle.hpp"
Namespaces | |
vg | |
Functions | |
Position | vg::reverse (const Position &pos, size_t node_length) |
pos_t | vg::make_pos_t (const Position &pos) |
Convert a Position to a (much smaller) pos_t. More... | |
pos_t | vg::make_pos_t (gcsa::node_type node) |
Create a pos_t from a gcsa node. More... | |
Position | vg::make_position (const pos_t &pos) |
Convert a pos_t to a Position. More... | |
Position | vg::make_position (id_t id, bool is_rev, off_t off) |
Create a Position from a Node ID, an orientation flag, and an offset along that strand of the node. More... | |
Position | vg::make_position (gcsa::node_type node) |
Make a Position from a gcsa node. More... | |
pair< int64_t, int64_t > | vg::min_oriented_distances (const unordered_map< path_handle_t, vector< pair< size_t, bool > > > &path_offsets1, const unordered_map< path_handle_t, vector< pair< size_t, bool > > > &path_offsets2) |
Find the min distance in the path offsets where the path orientation is the same and different. More... | |
Functions for working with Positions and pos_t
s.