Package htsjdk.beta.plugin.reads
Class ReadsEncoderOptions
java.lang.Object
htsjdk.beta.plugin.reads.ReadsEncoderOptions
- All Implemented Interfaces:
HtsEncoderOptions
General reads encoder options.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet theBAMEncoderOptionsfor these ReadsEncoderOptions.Get theCRAMEncoderOptionsfor this ReadsEncoderOptions.booleanGet the preSorted setting for these options.setBAMEncoderOptions(BAMEncoderOptions bamEncoderOptions) Set theBAMEncoderOptionsfor these ReadsEncoderOptions.setCRAMEncoderOptions(CRAMEncoderOptions cramEncoderOptions) Set theCRAMEncoderOptionsfor these ReadsEncoderOptions.setPreSorted(boolean preSorted) Set the preSorted setting for these options.
-
Constructor Details
-
ReadsEncoderOptions
public ReadsEncoderOptions()
-
-
Method Details
-
isPreSorted
public boolean isPreSorted()Get the preSorted setting for these options. Default value is false. If isPresorted is false, output will be sorted as needed on write.- Returns:
- true if preSorted is true, otherwise false
-
setPreSorted
Set the preSorted setting for these options. Default value is false. If preSorted is false, output will be sorted as needed on write.- Parameters:
preSorted- the preSorted state for these options- Returns:
- updated ReadsEncoderOptions
-
getBAMEncoderOptions
Get theBAMEncoderOptionsfor these ReadsEncoderOptions. Defaults to defaultBAMEncoderOptions.- Returns:
- the
BAMEncoderOptionsfor these ReadsEncoderOptions
-
setBAMEncoderOptions
Set theBAMEncoderOptionsfor these ReadsEncoderOptions. Defaults values are defaultBAMEncoderOptions.- Parameters:
bamEncoderOptions-BAMEncoderOptionsto use for these ReadsEncoderOptions- Returns:
- updated ReadsEncoderOptions
-
getCRAMEncoderOptions
Get theCRAMEncoderOptionsfor this ReadsEncoderOptions. Default values are defaultCRAMEncoderOptions.- Returns:
- the
CRAMEncoderOptionsfor this ReadsEncoderOptions
-
setCRAMEncoderOptions
Set theCRAMEncoderOptionsfor these ReadsEncoderOptions. Defaults to defaultCRAMEncoderOptions.- Parameters:
cramEncoderOptions- theCRAMEncoderOptionsfor these ReadsEncoderOptions- Returns:
- updated ReadsEncoderOptions
-