SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::refseq_coor Struct Reference

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_cooroperator++ ()
 
refseq_cooroperator-- ()
 
refseq_coor operator++ (int)
 
refseq_coor operator-- (int)
 
refseq_cooroperator+= (const diff_t d)
 
refseq_cooroperator-= (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.
 

Detailed Description

Reference sequence coordinates.


The documentation for this struct was generated from the following file: