#include <pbbam/PbiRawData.h>
class PacBio::BAM::PbiRawBarcodeData

The PbiRawBarcodeData class represents the raw data stored in the “BarcodeData” section of the PBI index.

Constructors & Related Methods


Creates an empty data structure.

PbiRawBarcodeData(uint32_t numReads)

Creates an empty data structure, preallocating space for a known number of records.

PbiRawBarcodeData(const PbiRawBarcodeData &other)
PbiRawBarcodeData(PbiRawBarcodeData &&other)
PbiRawBarcodeData &operator=(const PbiRawBarcodeData &other)
PbiRawBarcodeData &operator=(PbiRawBarcodeData &&other)

Index Construction

void AddRecord(const BamRecord &b)

Adds a record’s barcode data.

  • b: BAM record

Raw Data Containers

std::vector<int16_t> bcForward_
std::vector<int16_t> bcReverse_
std::vector<int8_t> bcQual_