PbiRawBasicData

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

The PbiRawBasicData class represents the raw data stored in the “BasicData” section of the PBI index.

Constructors & Related Methods

PbiRawBasicData()

Creates an empty data structure.

PbiRawBasicData(uint32_t numReads)

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

PbiRawBasicData(const PbiRawBasicData &other)
PbiRawBasicData(PbiRawBasicData &&other)
PbiRawBasicData &operator=(const PbiRawBasicData &other)
PbiRawBasicData &operator=(PbiRawBasicData &&other)

Index Construction

void AddRecord(const BamRecord &b, int64_t offset)

Adds a record’s mapping data.

Parameters
  • b: BAM record
  • offset: virtual file offset where record begins

Raw Data Containers

std::vector<int32_t> rgId_
std::vector<int32_t> qStart_
std::vector<int32_t> qEnd_
std::vector<int32_t> holeNumber_
std::vector<float> readQual_
std::vector<uint8_t> ctxtFlag_
std::vector<int64_t> fileOffset_
std::vector<uint16_t> fileNumber_