class XPos extends java.lang.Object
A representation of a genomic position as a long The first 11 digits are the position within a contig / chromosome, while the leading 2 digits define the chromosome.
Type | Name and description |
---|---|
static java.lang.String[] |
INT_CHRS |
Constructor and description |
---|
XPos
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static int |
chrToInt(java.lang.String chr) |
|
static long |
computeId(int chr, int pos) |
|
static long |
computePos(java.lang.String chr, int pos) |
|
static java.lang.String |
intToChr(int chrInt) |
|
static gngs.Region |
parsePos(long id) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation