SHORE API
|
Reference sequence coordinates. More...
Public Types | |
typedef int | chr_t |
typedef long | pos_t |
typedef long | diff_t |
Public Member Functions | |
refseq_coor () | |
Constructor: initialize to (1,1) | |
refseq_coor (chr_t c, pos_t p) | |
Construct and initialize. | |
refseq_coor & | operator++ () |
refseq_coor & | operator-- () |
refseq_coor | operator++ (int) |
refseq_coor | operator-- (int) |
refseq_coor & | operator+= (const diff_t d) |
refseq_coor & | operator-= (const diff_t d) |
Static Public Member Functions | |
static refseq_coor | max () |
Get the largest possible values for chromosome and position. | |
static refseq_coor | min () |
Get the smallest possible values for chromosome and position (invalid negative coordinates!). | |
Public Attributes | |
chr_t | chromosome |
Reference sequence / chromosome ID. | |
pos_t | position |
Position on the chromosome, 1-based. | |
Reference sequence coordinates.