PbiRawMappedData¶
#include <pbbam/PbiRawData.h>
-
class
PacBio::BAM::
PbiRawMappedData
¶ The PbiRawMappedData class represents the raw data stored in the “MappedData” section of the PBI index.
Constructors & Related Methods
-
PbiRawMappedData
()¶ Creates an empty data structure.
-
PbiRawMappedData
(uint32_t numReads)¶ Creates an empty data structure, preallocating space for a known number of records.
-
PbiRawMappedData
(const PbiRawMappedData &other)¶
-
PbiRawMappedData
(PbiRawMappedData &&other)¶
-
PbiRawMappedData &
operator=
(const PbiRawMappedData &other)¶
-
PbiRawMappedData &
operator=
(PbiRawMappedData &&other)¶
Index Construction
Index Data Query
-
uint32_t
NumDeletedBasesAt
(size_t recordIndex) const¶ Calculates the number of deleted bases for a particular record.
Convenvience method. Equivalent to:
NumDeletedAndInsertedBasesAt(i).first;
- Return
- number of deleted bases
- Parameters
recordIndex
: i-th record
-
uint32_t
NumInsertedBasesAt
(size_t recordIndex) const¶ Calculates the number of inserted bases for a particular record.
Convenvience method. Equivalent to:
NumDeletedAndInsertedBasesAt(i).second;
- Return
- number of inserted bases
- Parameters
recordIndex
: i-th record
-
std::pair<uint32_t, uint32_t>
NumDeletedAndInsertedBasesAt
(size_t recordIndex) const¶ Calculates the number of deleted & inserted bases for a particular record.
- Return
- a pair consisting of (numDeletions,numInsertions)
- Parameters
recordIndex
: i-th record in the data set
-