Represents a sequential genomic region. More...
#include <BamAux.h>
Public Member Functions | |
BamRegion (const int &leftID=-1, const int &leftPos=-1, const int &rightID=-1, const int &rightPos=-1) | |
constructor | |
BamRegion (const BamRegion &other) | |
copy constructor | |
void | clear (void) |
Clears region boundaries. | |
bool | isLeftBoundSpecified (void) const |
Returns true if region has a left boundary. | |
bool | isNull (void) const |
Returns true if region boundaries are not defined. | |
bool | isRightBoundSpecified (void) const |
Returns true if region has a right boundary. | |
Public Attributes | |
int | LeftRefID |
reference ID for region's left boundary | |
int | LeftPosition |
position for region's left boundary | |
int | RightRefID |
reference ID for region's right boundary | |
int | RightPosition |
position for region's right boundary |
Represents a sequential genomic region.
Allowed to span multiple (sequential) references.
BamTools::BamRegion::BamRegion | ( | const int & | leftID = -1 , |
|
const int & | leftPos = -1 , |
|||
const int & | rightID = -1 , |
|||
const int & | rightPos = -1 | |||
) | [inline] |
constructor
BamTools::BamRegion::BamRegion | ( | const BamRegion & | other | ) | [inline] |
copy constructor
void BamTools::BamRegion::clear | ( | void | ) | [inline] |
Clears region boundaries.
bool BamTools::BamRegion::isLeftBoundSpecified | ( | void | ) | const [inline] |
Returns true if region has a left boundary.
bool BamTools::BamRegion::isNull | ( | void | ) | const [inline] |
Returns true if region boundaries are not defined.
bool BamTools::BamRegion::isRightBoundSpecified | ( | void | ) | const [inline] |
Returns true if region has a right boundary.
position for region's left boundary
reference ID for region's left boundary
position for region's right boundary
reference ID for region's right boundary