public final class CramVersions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CRAMVersion |
CRAM_v2_1 |
static CRAMVersion |
CRAM_v3 |
static CRAMVersion |
DEFAULT_CRAM_VERSION
The default CRAM version when creating a new CRAM output file or stream.
|
Constructor and Description |
---|
CramVersions() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSupportedVersion(CRAMVersion candidateVersion)
Return true if
candidateVersion is a supported CRAM version. |
public static final CRAMVersion CRAM_v2_1
public static final CRAMVersion CRAM_v3
public static final CRAMVersion DEFAULT_CRAM_VERSION
public static boolean isSupportedVersion(CRAMVersion candidateVersion)
candidateVersion
is a supported CRAM version.candidateVersion
- version to testcandidateVersion
is a supported CRAM version othrwise false