Parameters for generate_haplotypes()
.
More...
#include <recombinator.hpp>
◆ preset_t
Preset parameters for common use cases.
Enumerator |
---|
preset_default | Default parameters.
|
preset_haploid | Best practices for haploid sampling.
|
preset_diploid | Best practices for diploid sampling.
|
◆ Parameters()
◆ print()
void vg::Recombinator::Parameters::print |
( |
std::ostream & |
out | ) |
const |
Print a description of the parameters.
◆ absent_score
double vg::Recombinator::Parameters::absent_score = ABSENT_SCORE |
Score for absent kmers. This should be less than 1 if we assume that having the right variants in the graph is more important than keeping the wrong variants out.
◆ buffer_size
gbwt::size_type vg::Recombinator::Parameters::buffer_size = gbwt::DynamicGBWT::INSERT_BATCH_SIZE |
Buffer size (in nodes) for GBWT construction.
◆ coverage
size_t vg::Recombinator::Parameters::coverage = COVERAGE |
Kmer coverage. Use 0 to estimate from kmer counts.
◆ diploid_sampling
bool vg::Recombinator::Parameters::diploid_sampling = false |
After selecting the initial num_haplotypes
haplotypes, choose the highest-scoring pair out of them.
◆ haploid_scoring
bool vg::Recombinator::Parameters::haploid_scoring = false |
Use the haploid scoring model. The most common kmer count is used as the coverage estimate. Kmers that would be classified as heterozygous are treated as homozygous.
◆ het_adjustment
Additive term for adjusting the scores for heterozygous kmers after each haplotype to encourage even sampling of haplotypes with and without that kmer.
◆ include_reference
bool vg::Recombinator::Parameters::include_reference = false |
Include named and reference paths.
◆ num_haplotypes
Number of haplotypes to be generated, or the number of candidates for diploid sampling.
◆ present_discount
Multiplicative factor for discounting the scores for present kmers after selecting a haplotype with that kmer.
The documentation for this struct was generated from the following files: