An interval is a 2-dimensional 0-based coordinate consisting of a closed start value and open end value.
Originally, an IntervalArray was a collection of trees.
Originally, an IntervalArray was a collection of trees. Alas, we have no trees anymore. I blame global warming.
WARNING: CONTAINS A VARIABLE THAT IS NOT THREAD SAFE TO SAFELY USE THIS VARIABLE IN A SPARK CONTEXT, CREATE A SHALLOW COPY OF THE INTERVAL ARRAY.
optLastIndex
Companion object for building an IntervalArray from an RDD.
An interval is a 2-dimensional 0-based coordinate consisting of a closed start value and open end value. Each 2-dimensional coordinate has a defined width. This can be used to express a region of a genome, a transcript, a gene, etc.
Recursive type extending Interval. Used for return type of functions overlap() and compareTo()