public final class DownsamplingMethod
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static DownsampleType |
DEFAULT_DOWNSAMPLING_TYPE
Default type to use if no type is specified
|
static DownsamplingMethod |
NONE
Expresses no downsampling applied at all.
|
java.lang.Integer |
toCoverage
Actual downsampling target is specified as an integer number of reads.
|
java.lang.Double |
toFraction
Actual downsampling target is specified as a fraction of total available reads.
|
DownsampleType |
type
Type of downsampling to perform.
|
Constructor and Description |
---|
DownsamplingMethod(DownsampleType type,
java.lang.Integer toCoverage,
java.lang.Double toFraction)
If type is null, then DEFAULT_DOWNSAMPLING_TYPE will be used.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public final DownsampleType type
public final java.lang.Integer toCoverage
public final java.lang.Double toFraction
public static final DownsamplingMethod NONE
public static final DownsampleType DEFAULT_DOWNSAMPLING_TYPE
public DownsamplingMethod(DownsampleType type, java.lang.Integer toCoverage, java.lang.Double toFraction)