kaori
A C++ library for barcode extraction and matching
|
Handler for single-end single barcodes. More...
#include <SingleBarcodeSingleEnd.hpp>
Classes | |
struct | Options |
Optional parameters for SingleBarcodeSingleEnd . More... | |
Public Member Functions | |
SingleBarcodeSingleEnd (const char *template_seq, size_t template_length, const BarcodePool &barcode_pool, const Options &options) | |
const std::vector< int > & | get_counts () const |
int | get_total () const |
Handler for single-end single barcodes.
In this design, the barcoding element is constructed from a template with a single variable region drawn from a pool of barcode sequences. The construct containing the barcoding element is then subjected to single-end sequencing. This handler will search the read for the barcoding element and count the frequency of each barcode.
max_size | Maximum length of the template sequences on both reads. |
|
inline |
[in] | template_seq | Template sequence of the barcoding element. This should contain exactly one variable region. |
template_length | Length of the template. This should be less than or equal to max_size . | |
barcode_pool | Known barcode sequences for the variable region. | |
options | Optional parameters. |
|
inline |
barcode_pool
in the constructor).
|
inline |