vg
tools for working with variation graphs
Public Member Functions | Public Attributes | List of all members
vg::kmer_t Struct Reference

#include <kmer.hpp>

Public Member Functions

 kmer_t (const string &s, const pos_t &b, const pos_t &e, const handle_t &c)
 

Public Attributes

string seq
 the kmer More...
 
pos_t begin
 our start position More...
 
pos_t end
 Used in construction. More...
 
handle_t curr
 one past the (current) end of the kmer More...
 
vector< pos_tprev_pos
 These are filled when construction is complete. More...
 
vector< pos_tnext_pos
 
vector< char > prev_char
 
vector< char > next_char
 

Detailed Description

Stores a kmer in the context of a graph. The context may be used to double the kmer length of a deBruijn graph encoded in these, which is done in GCSA2's index construction.

Constructor & Destructor Documentation

◆ kmer_t()

vg::kmer_t::kmer_t ( const string &  s,
const pos_t b,
const pos_t e,
const handle_t c 
)
inline

Member Data Documentation

◆ begin

pos_t vg::kmer_t::begin

our start position

◆ curr

handle_t vg::kmer_t::curr

one past the (current) end of the kmer

◆ end

pos_t vg::kmer_t::end

Used in construction.

◆ next_char

vector<char> vg::kmer_t::next_char

◆ next_pos

vector<pos_t> vg::kmer_t::next_pos

◆ prev_char

vector<char> vg::kmer_t::prev_char

◆ prev_pos

vector<pos_t> vg::kmer_t::prev_pos

These are filled when construction is complete.

the next handle we extend into

◆ seq

string vg::kmer_t::seq

the kmer


The documentation for this struct was generated from the following file: