public class IntervalUtil
extends java.lang.Object
| Constructor and Description |
|---|
IntervalUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertOrderedNonOverlapping(java.util.Iterator<Interval> intervals,
SAMSequenceDictionary sequenceDictionary)
Throws RuntimeException if the given intervals are not locus ordered and non-overlapping
|
static boolean |
contains(IntervalList intervalList,
java.lang.String sequenceName,
long position)
Return true if the sequence/position lie in the provided interval list.
|
static boolean |
contains(Interval interval,
java.lang.String sequenceName,
long position)
Return true if the sequence/position lie in the provided interval.
|
public static boolean contains(Interval interval, java.lang.String sequenceName, long position)
public static boolean contains(IntervalList intervalList, java.lang.String sequenceName, long position)
public static void assertOrderedNonOverlapping(java.util.Iterator<Interval> intervals, SAMSequenceDictionary sequenceDictionary)
intervals - sequenceDictionary - used to determine order of sequences