Minimizer index construction parameters.
More...
#include <gbwtgraph_helper.hpp>
|
| size_t | k = gbwtgraph::DefaultMinimizerIndex::key_type::KMER_LENGTH |
| | k-mer length.
|
| size_t | w_or_s = gbwtgraph::DefaultMinimizerIndex::key_type::WINDOW_LENGTH |
| | Window length (with minimizers) or s-mer length (with syncmers).
|
| bool | use_syncmers = false |
| | Whether to use syncmers instead of minimizers.
|
| bool | use_weighted_minimizers = false |
| | Whether to use weighted minimizers (cannot be used with syncmers).
|
| size_t | threshold = DEFAULT_THRESHOLD |
| | Downweight kmers with more than this many hits.
|
| size_t | iterations = DEFAULT_ITERATIONS |
| | Number of iterations for weighted minimizer calculation.
|
| bool | space_efficient_counting = false |
| | Whether to use the space-efficient k-mer counting algorithm with weighted minimizers.
|
| size_t | hash_table_width = 0 |
| | Initial hash table width (in bits) for kmer counting (0 = guess).
|
| bool | progress = false |
| | Print progress information during construction.
|
Minimizer index construction parameters.
◆ PayloadType
| Enumerator |
|---|
| PAYLOAD_NONE | No payload.
|
| PAYLOAD_ZIPCODES | Zipcode payload.
|
| PAYLOAD_ZIPCODES_WITH_PATHS | Zipcode payload with path information.
|
◆ kmer_counting()
| MinimizerIndexParameters & vg::MinimizerIndexParameters::kmer_counting |
( |
bool | space_efficient_counting = false, |
|
|
size_t | hash_table_width = 0 ) |
|
inline |
Sets k-mer counting parameters.
◆ minimizers()
Sets minimizer parameters.
◆ payload_str()
| std::string vg::MinimizerIndexParameters::payload_str |
( |
PayloadType | type | ) |
|
|
static |
Returns a string representation of the payload type. This will be used as a tag value in the minimizer index.
◆ syncmers()
◆ validate()
| std::string vg::MinimizerIndexParameters::validate |
( |
| ) |
const |
Returns an error message if the parameters are invalid.
◆ verbose()
◆ weighted()
Sets weighted minimizer parameters.
◆ DEFAULT_ITERATIONS
| size_t vg::MinimizerIndexParameters::DEFAULT_ITERATIONS = 3 |
|
staticconstexpr |
◆ DEFAULT_THRESHOLD
| size_t vg::MinimizerIndexParameters::DEFAULT_THRESHOLD = 500 |
|
staticconstexpr |
Default for threshold. Should be the same as Giraffe hard hit cap.
◆ HASH_TABLE_MAX_WIDTH
| size_t vg::MinimizerIndexParameters::HASH_TABLE_MAX_WIDTH = 36 |
|
staticconstexpr |
◆ HASH_TABLE_MIN_WIDTH
| size_t vg::MinimizerIndexParameters::HASH_TABLE_MIN_WIDTH = 10 |
|
staticconstexpr |
◆ hash_table_width
| size_t vg::MinimizerIndexParameters::hash_table_width = 0 |
Initial hash table width (in bits) for kmer counting (0 = guess).
◆ iterations
Number of iterations for weighted minimizer calculation.
| size_t vg::MinimizerIndexParameters::k = gbwtgraph::DefaultMinimizerIndex::key_type::KMER_LENGTH |
◆ MAX_ITERATIONS
| size_t vg::MinimizerIndexParameters::MAX_ITERATIONS = gbwtgraph::MinimizerHeader::FLAG_WEIGHT_MASK >> gbwtgraph::MinimizerHeader::FLAG_WEIGHT_OFFSET |
|
staticconstexpr |
◆ PAYLOAD_KEY
| const std::string vg::MinimizerIndexParameters::PAYLOAD_KEY = "payload" |
|
static |
Tag used to indicate the payload type in the minimizer index.
◆ progress
| bool vg::MinimizerIndexParameters::progress = false |
Print progress information during construction.
◆ space_efficient_counting
| bool vg::MinimizerIndexParameters::space_efficient_counting = false |
Whether to use the space-efficient k-mer counting algorithm with weighted minimizers.
◆ threshold
Downweight kmers with more than this many hits.
◆ use_syncmers
| bool vg::MinimizerIndexParameters::use_syncmers = false |
Whether to use syncmers instead of minimizers.
◆ use_weighted_minimizers
| bool vg::MinimizerIndexParameters::use_weighted_minimizers = false |
Whether to use weighted minimizers (cannot be used with syncmers).
◆ w_or_s
| size_t vg::MinimizerIndexParameters::w_or_s = gbwtgraph::DefaultMinimizerIndex::key_type::WINDOW_LENGTH |
Window length (with minimizers) or s-mer length (with syncmers).
◆ ZIPCODE_PAYLOAD_SIZE
| size_t vg::MinimizerIndexParameters::ZIPCODE_PAYLOAD_SIZE = sizeof(ZipCode::payload_type) / sizeof(gbwtgraph::KmerEncoding::code_type) |
|
staticconstexpr |
Number of words used for a zipcode payload.
The documentation for this struct was generated from the following files: