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

#include <gbwt_extender.hpp>

Public Member Functions

int32_t evaluate (size_t length) const
 

Public Attributes

double per_base
 How many of the event should we allow per base? More...
 
int32_t min
 
int32_t max
 

Detailed Description

We have one of these each for matches, mismatches, and gaps to define how many of them to allow.

Member Function Documentation

◆ evaluate()

int32_t vg::WFAExtender::ErrorModel::Event::evaluate ( size_t  length) const
inline

Evaluate the model and get a limit number for this kind of event for a given sequence length.

Member Data Documentation

◆ max

int32_t vg::WFAExtender::ErrorModel::Event::max

◆ min

int32_t vg::WFAExtender::ErrorModel::Event::min

How many should we allow at least or at most, regardless of sequence length? Min is a bonus over the per-base calculation, but max is a cap.

◆ per_base

double vg::WFAExtender::ErrorModel::Event::per_base

How many of the event should we allow per base?


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