public class CRAMDecoderOptions
extends java.lang.Object
| Constructor and Description |
|---|
CRAMDecoderOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<IOPath> |
getReferencePath()
Get the reference path for these options.
|
java.util.Optional<CRAMReferenceSource> |
getReferenceSource()
Get the
CRAMReferenceSource for these options. |
CRAMDecoderOptions |
setReferencePath(IOPath referencePath)
Set the reference path for these options.
|
CRAMDecoderOptions |
setReferenceSource(CRAMReferenceSource referenceSource)
Set the
CRAMReferenceSource for these options. |
public java.util.Optional<CRAMReferenceSource> getReferenceSource()
CRAMReferenceSource for these options.CRAMReferenceSource for these options, or Optional.empty() if nonepublic CRAMDecoderOptions setReferenceSource(CRAMReferenceSource referenceSource)
CRAMReferenceSource for these options. Mutually exclusive with
setReferencePath(IOPath), which must be set to null in order to set a CRAMReferenceSource.referenceSource - the CRAMReferenceSource for these options. May be null.java.lang.IllegalArgumentException - if a reference path is already set on these optionspublic java.util.Optional<IOPath> getReferencePath()
public CRAMDecoderOptions setReferencePath(IOPath referencePath)
setReferenceSource(CRAMReferenceSource),
which must be set to null in order to set a reference path.referencePath - The path to use. may be null.java.lang.IllegalArgumentException - if a reference source is already set on these options