public class ReadsDecoderOptions extends java.lang.Object implements HtsDecoderOptions
Constructor and Description |
---|
ReadsDecoderOptions() |
Modifier and Type | Method and Description |
---|---|
BAMDecoderOptions |
getBAMDecoderOptions()
Get the
BAMDecoderOptions for these options. |
CRAMDecoderOptions |
getCRAMDecoderOptions()
Get the
CRAMDecoderOptions for these options. |
java.util.Optional<java.util.function.Function<java.nio.channels.SeekableByteChannel,java.nio.channels.SeekableByteChannel>> |
getIndexChannelTransformer()
Get the channel transformer for the index resource.
|
java.util.Optional<java.util.function.Function<java.nio.channels.SeekableByteChannel,java.nio.channels.SeekableByteChannel>> |
getReadsChannelTransformer()
Get the channel transformer for the reads resource.
|
ValidationStringency |
getValidationStringency()
Get the
ValidationStringency used for these options. |
boolean |
isDecodeEagerly()
Get eagerly decoding state used for these options.
|
boolean |
isFileBasedIndexCached()
Get the file based index cache setting used for these options.
|
boolean |
isMemoryMapIndexes()
Get whether mapping indexes is enabled.
|
ReadsDecoderOptions |
setBAMDecoderOptions(BAMDecoderOptions bamDecoderOptions)
Set the
BAMDecoderOptions used for these options. |
ReadsDecoderOptions |
setCRAMDecoderOptions(CRAMDecoderOptions cramDecoderOptions)
Set the
CRAMDecoderOptions for these ReadsDecoderOptions. |
ReadsDecoderOptions |
setDecodeEagerly(boolean eagerlyDecode)
Set the eagerly decoding state used for these options.
|
ReadsDecoderOptions |
setFileBasedIndexCached(boolean fileBasedIndexCached)
Set id file based index caching is enabled for these options.
|
ReadsDecoderOptions |
setIndexChannelTransformer(java.util.function.Function<java.nio.channels.SeekableByteChannel,java.nio.channels.SeekableByteChannel> indexChannelTransformer)
Set the channel transformer for the index resource.
|
ReadsDecoderOptions |
setMemoryMapIndexes(boolean memoryMapIndexes)
Set whether memory mapping indexes is enabled.
|
ReadsDecoderOptions |
setReadsChannelTransformer(java.util.function.Function<java.nio.channels.SeekableByteChannel,java.nio.channels.SeekableByteChannel> readsChannelTransformer)
Set the channel transformer for the reads resource.
|
ReadsDecoderOptions |
setValidationStringency(ValidationStringency validationStringency)
Set the
ValidationStringency used for these options. |
public ValidationStringency getValidationStringency()
ValidationStringency
used for these options. Defaults to ValidationStringency.STRICT
.ValidationStringency
used for these optionspublic ReadsDecoderOptions setValidationStringency(ValidationStringency validationStringency)
ValidationStringency
used for these options. Defaults value is
ValidationStringency.STRICT
.validationStringency
- the ValidationStringency
used for these optionspublic boolean isDecodeEagerly()
public ReadsDecoderOptions setDecodeEagerly(boolean eagerlyDecode)
eagerlyDecode
- true if eagerly decode is set, otherwise falsepublic boolean isFileBasedIndexCached()
public ReadsDecoderOptions setFileBasedIndexCached(boolean fileBasedIndexCached)
fileBasedIndexCached
- true to enable caching, otherwise falsepublic boolean isMemoryMapIndexes()
public ReadsDecoderOptions setMemoryMapIndexes(boolean memoryMapIndexes)
memoryMapIndexes
- true if indexes are memory mapped, otherwise falsepublic BAMDecoderOptions getBAMDecoderOptions()
BAMDecoderOptions
for these options.BAMDecoderOptions
for these optionspublic ReadsDecoderOptions setBAMDecoderOptions(BAMDecoderOptions bamDecoderOptions)
BAMDecoderOptions
used for these options.bamDecoderOptions
- the BAMDecoderOptions
for these ReadsDecoderOptionspublic CRAMDecoderOptions getCRAMDecoderOptions()
CRAMDecoderOptions
for these options.CRAMDecoderOptions
for these optionspublic ReadsDecoderOptions setCRAMDecoderOptions(CRAMDecoderOptions cramDecoderOptions)
CRAMDecoderOptions
for these ReadsDecoderOptions.cramDecoderOptions
- the CRAMDecoderOptions
for these ReadsDecoderOptions@InternalAPI public java.util.Optional<java.util.function.Function<java.nio.channels.SeekableByteChannel,java.nio.channels.SeekableByteChannel>> getReadsChannelTransformer()
@InternalAPI public ReadsDecoderOptions setReadsChannelTransformer(java.util.function.Function<java.nio.channels.SeekableByteChannel,java.nio.channels.SeekableByteChannel> readsChannelTransformer)
readsChannelTransformer
- the channel transformer to be used. may be null@InternalAPI public java.util.Optional<java.util.function.Function<java.nio.channels.SeekableByteChannel,java.nio.channels.SeekableByteChannel>> getIndexChannelTransformer()
@InternalAPI public ReadsDecoderOptions setIndexChannelTransformer(java.util.function.Function<java.nio.channels.SeekableByteChannel,java.nio.channels.SeekableByteChannel> indexChannelTransformer)
indexChannelTransformer
- the channel transformer to be used. may be null.