vg
tools for working with variation graphs
|
#include <minimizer_mapper.hpp>
Public Member Functions | |
bool | operator< (const Minimizer &another) const |
size_t | forward_offset () const |
size_t | pin_offset () const |
size_t | window_size () const |
How many bases are in a window for which a minimizer is chosen? More... | |
size_t | agglomeration_window_count () const |
How many different windows are in this minimizer's agglomeration? More... | |
string | forward_sequence () const |
What is the minimizer sequence, in read orientation? More... | |
Public Attributes | |
gbwtgraph::DefaultMinimizerIndex::minimizer_type | value |
size_t | agglomeration_start |
size_t | agglomeration_length |
size_t | hits |
const gbwtgraph::DefaultMinimizerIndex::value_type * | occs |
int32_t | length |
int32_t | candidates_per_window |
double | score |
bool | is_repetitive |
We define our own type for minimizers, to use during mapping and to pass around between our internal functions. Also used to represent syncmers, in which case the only window, the "minimizer", and the agglomeration are all the same region.
|
inline |
How many different windows are in this minimizer's agglomeration?
|
inline |
Get the starting position of the given minimizer on the forward strand. Use this instead of value.offset which can really be the last base for reverse strand minimizers.
|
inline |
What is the minimizer sequence, in read orientation?
|
inline |
|
inline |
Get the position on the read's sequence that corresponds to the located graph positions. For reverse-strand minimizers this will be at the end of the minimizer's interval in the read.
|
inline |
How many bases are in a window for which a minimizer is chosen?
size_t vg::MinimizerMapper::Minimizer::agglomeration_length |
size_t vg::MinimizerMapper::Minimizer::agglomeration_start |
int32_t vg::MinimizerMapper::Minimizer::candidates_per_window |
size_t vg::MinimizerMapper::Minimizer::hits |
bool vg::MinimizerMapper::Minimizer::is_repetitive |
int32_t vg::MinimizerMapper::Minimizer::length |
const gbwtgraph::DefaultMinimizerIndex::value_type* vg::MinimizerMapper::Minimizer::occs |
double vg::MinimizerMapper::Minimizer::score |
gbwtgraph::DefaultMinimizerIndex::minimizer_type vg::MinimizerMapper::Minimizer::value |