Public Member Functions | |
ChromSegment (String inChromosome, long inStart, long inEnd, int rEnd) | |
ChromSegment (String inChromosome, long inStart, long inEnd) | |
ChromSegment (String inChrom, String inStart, String inEnd) | |
ChromSegment (String inChrom, String neg, String inStart, String inEnd) | |
ChromSegment (String inName, String inChromosome, long inStart, long inEnd) | |
void | setRealChrom (boolean realChrom) |
boolean | isRealChrom () |
String | getName () |
String | getChromosome () |
String | getChromosome (boolean alter) |
void | setChromosome (int chromosome) |
void | setChromosome (String chromosome) |
String | getChromName () |
long | getStart () |
long | getEnd () |
void | setStart (long start) |
void | setEnd (long end) |
String | getPos () |
void | add (ChromSegment segment) |
boolean | contains (ChromSegment segment) |
boolean | contains (ChromPosition position) |
boolean | contains (long coordinate) |
boolean | touches (ChromSegment segment) |
ChromSegment | intersect (ChromSegment segment) |
String | toString () |
String | toString (long offset) |
int | hashCode () |
int | compareTo (Object obj) |
Object | cloneSegment () |
int | getRealEnd () |
Static Public Member Functions | |
ChromSegment | parsePos (String pos) throws VGBException |
long[] | parseSpan (String span) |
boolean | positionFormat (String pos) |
Package Attributes | |
String | chromosome |
long | start |
long | end |
int | realEnd = 0 |
boolean | realChrom = true |
|
|
|
|
|
|
|
|
|
|
|
Merges the specified chromosome segment with this segment |
|
clone Segment
|
|
compare 2 segments
|
|
Returns true if the specified Chromosome position falls within this segment. |
|
Returns true if the specified Chromosome position falls within this segment. |
|
Returns true if the specified chromosome segment overlaps at all with this segment. |
|
get Chromosome Name
|
|
get Chromosome
|
|
get Chromosome
|
|
get End
|
|
get Name
|
|
get formatted Position string
|
|
get Real Segment End
|
|
get Start
|
|
Returns a new ChromSegment which is the intersection of this segment and the provided segment. |
|
return true if segment is a Real Chromosome
|
|
build ChromSegment from the position string
|
|
return array with start and end
|
|
return true if position is like chr9:10000-20000
|
|
set Chromosome
|
|
set Chromosome
|
|
set End
|
|
set Real Chromosome mode
|
|
set Start
|
|
return XML formatted summary string
Reimplemented in gov::lbl::genome::common::features::Contig, gov::lbl::genome::common::features::Gene, gov::lbl::genome::common::features::Repeat, and gov::lbl::genome::common::features::SuperContig. |
|
return XML formatted summary string
Reimplemented in gov::lbl::genome::common::features::Contig, gov::lbl::genome::common::features::Gene, gov::lbl::genome::common::features::PValue, gov::lbl::genome::common::features::Repeat, and gov::lbl::genome::common::features::SuperContig. |
|
Returns true if the specified Chromosome segment either intersects or is adjacent to this Segment. |