kaori
A C++ library for barcode extraction and matching
Loading...
Searching...
No Matches
Public Attributes | List of all members
kaori::SimpleSingleMatch< max_size >::State Struct Reference

State of the search on a read sequence. More...

#include <SimpleSingleMatch.hpp>

Public Attributes

int index = 0
 
size_t position = 0
 
int mismatches = 0
 
int variable_mismatches = 0
 
bool reverse = false
 

Detailed Description

template<size_t max_size>
struct kaori::SimpleSingleMatch< max_size >::State

State of the search on a read sequence.

Member Data Documentation

◆ index

template<size_t max_size>
int kaori::SimpleSingleMatch< max_size >::State::index = 0

Index of the known barcode sequence that matches the variable region in the read sequence. This will be -1 if no match was found.

◆ mismatches

template<size_t max_size>
int kaori::SimpleSingleMatch< max_size >::State::mismatches = 0

Total number of mismatches, including both the constant and variable regions. This should only be used if index != -1.

◆ position

template<size_t max_size>
size_t kaori::SimpleSingleMatch< max_size >::State::position = 0

Position of the match to the template, reported as the position on the read at the start of the template. This should only be used if index != -1.

◆ reverse

template<size_t max_size>
bool kaori::SimpleSingleMatch< max_size >::State::reverse = false

Whether the match was found on the reverse strand of the read sequence.

◆ variable_mismatches

template<size_t max_size>
int kaori::SimpleSingleMatch< max_size >::State::variable_mismatches = 0

Total number of mismatches in the variable region. This should only be used if index != -1.


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