Serializable, Comparable<IntervalListScatterer.Mode>public static enum IntervalListScatterer.Mode extends Enum<IntervalListScatterer.Mode>
| Enum Constant | Description |
|---|---|
BALANCING_WITHOUT_INTERVAL_SUBDIVISION |
A scatter approach that differs from
INTERVAL_SUBDIVISION in a few ways:
No interval will be subdivided, and consequently, the requested IntervalListTools.SCATTER_COUNT is
an upper bound of scatter count, not a guarante of the number of IntervalLists that will be produced
(e.g., if scatterCount = 10 but there is only one interval in the input, only 1 interval list will be emitted).
When an interval would otherwise be split, it is instead deferred to the next scatter list.
The "target width" of each scatter list may be wider than what is computed for INTERVAL_SUBDIVISION. |
BALANCING_WITHOUT_INTERVAL_SUBDIVISION_WITH_OVERFLOW |
A scatter approach that differs from
BALANCING_WITHOUT_INTERVAL_SUBDIVISION. |
INTERVAL_SUBDIVISION |
A simple scatter approach in which all output intervals have size equal to the total base count of the source list divided by the
scatter count (except, possibly, in the last interval list).
|
| Modifier and Type | Method | Description |
|---|---|---|
static IntervalListScatterer.Mode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static IntervalListScatterer.Mode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalListScatterer.Mode INTERVAL_SUBDIVISION
public static final IntervalListScatterer.Mode BALANCING_WITHOUT_INTERVAL_SUBDIVISION
INTERVAL_SUBDIVISION in a few ways:
IntervalListTools.SCATTER_COUNT is
an upper bound of scatter count, not a guarante of the number of IntervalLists that will be produced
(e.g., if scatterCount = 10 but there is only one interval in the input, only 1 interval list will be emitted).INTERVAL_SUBDIVISION.
Specifically, if the widest interval in the source interval list is larger than what would otherwise be the target width, that
interval's width is used.public static final IntervalListScatterer.Mode BALANCING_WITHOUT_INTERVAL_SUBDIVISION_WITH_OVERFLOW
BALANCING_WITHOUT_INTERVAL_SUBDIVISION.
This approach tries to balance the number of bases in each interval list by estimating the remaining interval lists sizes. This is
computed from the total number of unique bases and the bases we have consumed. This means that the interval list with the most
number of unique bases is at most the ideal split length larger than the smallest interval list (unique number of bases).public static IntervalListScatterer.Mode[] values()
for (IntervalListScatterer.Mode c : IntervalListScatterer.Mode.values()) System.out.println(c);
public static IntervalListScatterer.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null