Package htsjdk.samtools.cram.common
Class CramVersions
java.lang.Object
htsjdk.samtools.cram.common.CramVersions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CRAMVersion
static final CRAMVersion
static final CRAMVersion
The default CRAM version when creating a new CRAM output file or stream. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isSupportedVersion
(CRAMVersion candidateVersion) Return true ifcandidateVersion
is a supported CRAM version.
-
Field Details
-
CRAM_v2_1
-
CRAM_v3
-
DEFAULT_CRAM_VERSION
The default CRAM version when creating a new CRAM output file or stream.
-
-
Constructor Details
-
CramVersions
public CramVersions()
-
-
Method Details
-
isSupportedVersion
Return true ifcandidateVersion
is a supported CRAM version.- Parameters:
candidateVersion
- version to test- Returns:
- true if
candidateVersion
is a supported CRAM version othrwise false
-