public abstract static class SamReader.Type
extends java.lang.Object
Modifier and Type | Field and 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 and Description |
---|
Type() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
fileExtension()
The recommended file extension for SAMs of this type, without a period.
|
boolean |
hasValidFileExtension(java.lang.String fileName) |
abstract java.lang.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 java.lang.String |
name()
A string representation of this type.
|
public static final SamReader.Type SRA_TYPE
public static final SamReader.Type CRAM_TYPE
public static final SamReader.Type BAM_TYPE
public static final SamReader.Type SAM_TYPE
public static final SamReader.Type BAM_CSI_TYPE
public abstract java.lang.String name()
public abstract java.lang.String fileExtension()
public abstract java.lang.String indexExtension()
public boolean hasValidFileExtension(java.lang.String fileName)