Package htsjdk.samtools.cram.structure
Enum Class DataSeries
- All Implemented Interfaces:
Serializable
,Comparable<DataSeries>
,Constable
Represents a specific CRAM record data series and its associated type and unique Content ID. The
content id for a data series is not prescribed by the CrAM spec, so the ids used here represent the
ID used by this implementation on write. On read, the ID for each data series must be discovered
by interrogating the encoding map.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic DataSeries
byCanonicalName
(String dataSeriesAbbreviation) Return the DataSeries associated with the two-character canonical nameThe content id for a data series is not prescribed by the CrAM spec, so the ids used here represent the ID used by this implementation on write.getType()
static DataSeries
Returns the enum constant of this class with the specified name.static DataSeries[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BF_BitFlags
-
CF_CompressionBitFlags
-
RI_RefId
-
RL_ReadLength
-
AP_AlignmentPositionOffset
-
RG_ReadGroup
-
RN_ReadName
-
NF_RecordsToNextFragment
-
MF_MateBitFlags
-
NS_NextFragmentReferenceSequenceID
-
NP_NextFragmentAlignmentStart
-
TS_InsertSize
-
TL_TagIdList
-
TC_TagCount
-
TN_TagNameAndType
-
MQ_MappingQualityScore
-
FN_NumberOfReadFeatures
-
FP_FeaturePosition
-
FC_FeatureCode
-
BB_Bases
-
QQ_scores
-
BA_Base
-
QS_QualityScore
-
BS_BaseSubstitutionCode
-
IN_Insertion
-
DL_DeletionLength
-
RS_RefSkip
-
SC_SoftClip
-
PD_padding
-
HC_HardClip
-
TM_TestMark
-
TV_TestMark
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getType
-
getCanonicalName
-
getExternalBlockContentId
The content id for a data series is not prescribed by the CrAM spec, so the ids used here represent the ID used by this implementation on write. On read, the ID for each data series must be discovered by interrogating the encoding map.- Returns:
- content ID used when writing a CRAM
-
byCanonicalName
Return the DataSeries associated with the two-character canonical name- Parameters:
dataSeriesAbbreviation
- A Data Series canonical name, such as QS for Quality Score- Returns:
- the associated DataSeries
- Throws:
CRAMException
- for an unknown Data Series
-