kaori
A C++ library for barcode extraction and matching
|
#include <MismatchTrie.hpp>
Public Attributes | |
BarcodeIndex | index = 0 |
int | mismatches = 0 |
Results of search()
.
BarcodeIndex kaori::AnyMismatches::Result::index = 0 |
Index of the known barcode that matches best to the input sequence in search()
(i.e., fewest mismatches). If multiple sequences have the same lowest number of mismatches, the match is ambiguous and STATUS_AMBIGUOUS
is returned. If all sequences have more mismatches than max_mismatches
, STATUS_UNMATCHED
is returned.
int kaori::AnyMismatches::Result::mismatches = 0 |
Number of mismatches with the matching known barcode sequence. This should be ignored if index == STATUS_UNMATCHED
, as the search will terminate early without computing the exact number of mismatches if max_mismatches
is exceeded.