Package htsjdk.samtools.cram.common
Class CramVersions
- java.lang.Object
-
- htsjdk.samtools.cram.common.CramVersions
-
public final class CramVersions extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static CRAMVersionCRAM_v2_1static CRAMVersionCRAM_v3static CRAMVersionDEFAULT_CRAM_VERSIONThe default CRAM version when creating a new CRAM output file or stream.
-
Constructor Summary
Constructors Constructor Description CramVersions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSupportedVersion(CRAMVersion candidateVersion)Return true ifcandidateVersionis a supported CRAM version.
-
-
-
Field Detail
-
CRAM_v2_1
public static final CRAMVersion CRAM_v2_1
-
CRAM_v3
public static final CRAMVersion CRAM_v3
-
DEFAULT_CRAM_VERSION
public static final CRAMVersion DEFAULT_CRAM_VERSION
The default CRAM version when creating a new CRAM output file or stream.
-
-
Method Detail
-
isSupportedVersion
public static boolean isSupportedVersion(CRAMVersion candidateVersion)
Return true ifcandidateVersionis a supported CRAM version.- Parameters:
candidateVersion- version to test- Returns:
- true if
candidateVersionis a supported CRAM version othrwise false
-
-