- <init>
Constructs an interval with the supplied sequence and start, end, strand and
name. If the end positi
- getEnd
Gets the 1-based closed-ended end position of the interval on the sequence.
- getStart
Gets the 1-based start position of the interval on the sequence.
- getContig
- getName
Returns the name of the interval, possibly null.
- length
Gets the length of this interval.
- isNegativeStrand
Returns true if the interval is on the negative strand, otherwise false.
- isPositiveStrand
Returns true if the interval is on the positive strand, otherwise false.
- abuts
Returns true if this interval overlaps the other interval, otherwise false.
- compareTo
Sort based on sequence.compareTo, then start pos, then end pos with null objects
coming lexically la
- intersect
Returns a new Interval that represents the intersection between the two
intervals.
- intersects
Returns true if this interval overlaps the other interval, otherwise false.