Package htsjdk.samtools
Class SamReader.Type
- java.lang.Object
-
- htsjdk.samtools.SamReader.Type
-
-
Field Summary
Fields Modifier and Type Field Description static SamReader.Type
BAM_CSI_TYPE
static SamReader.Type
BAM_TYPE
static SamReader.Type
CRAM_TYPE
static SamReader.Type
SAM_TYPE
static SamReader.Type
SRA_TYPE
-
Constructor Summary
Constructors Constructor Description Type()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
fileExtension()
The recommended file extension for SAMs of this type, without a period.boolean
hasValidFileExtension(String fileName)
abstract String
indexExtension()
The recommended file extension for SAM indexes of this type, without a period, or null if this type is not associated with indexes.abstract String
name()
A string representation of this type.
-
-
-
Field Detail
-
SRA_TYPE
public static final SamReader.Type SRA_TYPE
-
CRAM_TYPE
public static final SamReader.Type CRAM_TYPE
-
BAM_TYPE
public static final SamReader.Type BAM_TYPE
-
SAM_TYPE
public static final SamReader.Type SAM_TYPE
-
BAM_CSI_TYPE
public static final SamReader.Type BAM_CSI_TYPE
-
-
Method Detail
-
name
public abstract String name()
A string representation of this type.
-
fileExtension
public abstract String fileExtension()
The recommended file extension for SAMs of this type, without a period.
-
indexExtension
public abstract String indexExtension()
The recommended file extension for SAM indexes of this type, without a period, or null if this type is not associated with indexes.
-
hasValidFileExtension
public boolean hasValidFileExtension(String fileName)
-
-