Package htsjdk.samtools.cram.common
Class CramVersions
java.lang.Object
htsjdk.samtools.cram.common.CramVersions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CRAMVersionstatic final CRAMVersionstatic final CRAMVersionThe default CRAM version when creating a new CRAM output file or stream. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisSupportedVersion(CRAMVersion candidateVersion) Return true ifcandidateVersionis 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 ifcandidateVersionis a supported CRAM version.- Parameters:
candidateVersion- version to test- Returns:
- true if
candidateVersionis a supported CRAM version othrwise false
-