Package htsjdk.samtools
Enum Class SAMValidationError.Type
- All Implemented Interfaces:
Serializable
,Comparable<SAMValidationError.Type>
,Constable
- Enclosing class:
- SAMValidationError
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCIGAR string contains I followed by D, or vice versaBAM appears to be healthy, but is an older file so doesn't have terminator block.The CG Tag should only be used in BAM format to hold a large cigarBases corresponding to M operator in CIGAR are beyond the end of the reference.Same program group id appears more than onceSame read group id appears more than onceA duplicate Sam tag was found in a record.Secondary base calls should not be the same as primary, unless one or the other is NHeader tag key contains invalid characters or is not length twoHeader tag appears more than once in header line with different valueHeader tag contains illegal valuealignment start is can not be correctCIGAR string is empty for mapped read or not empty of unmapped read, or other CIGAR badness.Date string is not ISO-8601first of pair flag set for unpaired readmate negative strand flag set for unpaired readmate unmapped flag set when mate is mapped or not set when mate is not mappednot primary alignment flag set for unmapped readproper pair flag set for unpaired readmapped read flag not set for mapped readsecond of pair flag set for unpaired readsupplementary alignment flag set for unmapped readInvalid virtualFilePointer in indexIndexing bin set on SAMRecord does not agree with computed value.inferred insert size is out of rangemapping quality set for unmapped read or is >= 256mate reference index (MRNM) set for unpaired readThe read group has an invalid value set for its PL fieldPI tag value is not numeric.quality encodings out of range; appear to be Solexa or Illumina when Phread expectedreference index not found in sequence dictionarythe NM tag (nucleotide differences) is incorrectThe unaligned mate read start position should be 0The mate reference of the unpaired read should be "*"There is a Cigar String (stored in the MC Tag) for a read whose mate is NOT mapped.the record's mate fields do not match the corresponding fields of the mateRead is marked as paired, but its pair was not found.Both mates are marked as first of pair, or both mates are marked as second of pair.Mismatch between the number of bases covered by the CIGAR and sequenceMismatch between file and sequence dictionariesmate negative strand flag does not match read negative strand flag of matemate unmapped flag does not match read unmapped flag of matemate alignment does not match alignment start of mateThe Cigar String in the MC Tag does not match the Cigar String for the mate of this read.mate reference index (MRNM) does not match reference index of mateLength of E2 (secondary base calls) and U2 (secondary base quals) tag values should match read lengthMismatch between the sequence and quality lengththe sam/bam file is missing the headerThe read group is missing its PL (platform unit) fieldthe header is missing read group informationthere is no sequence dictionary in the headerthe NM tag (nucleotide differences) is missingpair flag set but not marked as first or second of pairHeader tag does not have colonBase quality is not stored for the read.A read group ID on a SAMRecord is not found in the headerA SAMRecord is found with no read group idthe record is out of orderOne or more reference sequences in the dictionary are too long for BAI indexing.Unsigned integer tag value is deprecated in BAM.Header record is not one of the standard types -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SAMValidationError.Type
Returns the enum constant of this class with the specified name.static SAMValidationError.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID_QUALITY_FORMAT
quality encodings out of range; appear to be Solexa or Illumina when Phread expected -
INVALID_FLAG_PROPER_PAIR
proper pair flag set for unpaired read -
INVALID_FLAG_MATE_UNMAPPED
mate unmapped flag set when mate is mapped or not set when mate is not mapped -
MISMATCH_FLAG_MATE_UNMAPPED
mate unmapped flag does not match read unmapped flag of mate -
INVALID_FLAG_MATE_NEG_STRAND
mate negative strand flag set for unpaired read -
MISMATCH_FLAG_MATE_NEG_STRAND
mate negative strand flag does not match read negative strand flag of mate -
INVALID_FLAG_FIRST_OF_PAIR
first of pair flag set for unpaired read -
INVALID_FLAG_SECOND_OF_PAIR
second of pair flag set for unpaired read -
PAIRED_READ_NOT_MARKED_AS_FIRST_OR_SECOND
pair flag set but not marked as first or second of pair -
INVALID_FLAG_NOT_PRIM_ALIGNMENT
not primary alignment flag set for unmapped read -
INVALID_FLAG_SUPPLEMENTARY_ALIGNMENT
supplementary alignment flag set for unmapped read -
INVALID_FLAG_READ_UNMAPPED
mapped read flag not set for mapped read -
INVALID_INSERT_SIZE
inferred insert size is out of range- See Also:
-
INVALID_MAPPING_QUALITY
mapping quality set for unmapped read or is >= 256 -
INVALID_CIGAR
CIGAR string is empty for mapped read or not empty of unmapped read, or other CIGAR badness. -
ADJACENT_INDEL_IN_CIGAR
CIGAR string contains I followed by D, or vice versa -
INVALID_MATE_REF_INDEX
mate reference index (MRNM) set for unpaired read -
MISMATCH_MATE_REF_INDEX
mate reference index (MRNM) does not match reference index of mate -
INVALID_REFERENCE_INDEX
reference index not found in sequence dictionary -
INVALID_ALIGNMENT_START
alignment start is can not be correct -
MISMATCH_MATE_ALIGNMENT_START
mate alignment does not match alignment start of mate -
MATE_FIELD_MISMATCH
the record's mate fields do not match the corresponding fields of the mate -
INVALID_TAG_NM
the NM tag (nucleotide differences) is incorrect -
MISSING_TAG_NM
the NM tag (nucleotide differences) is missing -
MISSING_HEADER
the sam/bam file is missing the header -
MISSING_SEQUENCE_DICTIONARY
there is no sequence dictionary in the header -
MISSING_READ_GROUP
the header is missing read group information -
RECORD_OUT_OF_ORDER
the record is out of order -
READ_GROUP_NOT_FOUND
A read group ID on a SAMRecord is not found in the header -
RECORD_MISSING_READ_GROUP
A SAMRecord is found with no read group id -
INVALID_INDEXING_BIN
Indexing bin set on SAMRecord does not agree with computed value. -
MISSING_VERSION_NUMBER
-
INVALID_VERSION_NUMBER
-
TRUNCATED_FILE
-
MISMATCH_READ_LENGTH_AND_QUALS_LENGTH
-
EMPTY_READ
-
CIGAR_MAPS_OFF_REFERENCE
Bases corresponding to M operator in CIGAR are beyond the end of the reference. -
MISMATCH_READ_LENGTH_AND_E2_LENGTH
Length of E2 (secondary base calls) and U2 (secondary base quals) tag values should match read length -
MISMATCH_READ_LENGTH_AND_U2_LENGTH
-
E2_BASE_EQUALS_PRIMARY_BASE
Secondary base calls should not be the same as primary, unless one or the other is N -
BAM_FILE_MISSING_TERMINATOR_BLOCK
BAM appears to be healthy, but is an older file so doesn't have terminator block. -
UNRECOGNIZED_HEADER_TYPE
Header record is not one of the standard types -
POORLY_FORMATTED_HEADER_TAG
Header tag does not have colon -
HEADER_TAG_MULTIPLY_DEFINED
Header tag appears more than once in header line with different value -
HEADER_RECORD_MISSING_REQUIRED_TAG
-
HEADER_TAG_NON_CONFORMING_VALUE
Header tag contains illegal value -
INVALID_DATE_STRING
Date string is not ISO-8601 -
TAG_VALUE_TOO_LARGE
Unsigned integer tag value is deprecated in BAM. -
INVALID_INDEX_FILE_POINTER
Invalid virtualFilePointer in index -
INVALID_PREDICTED_MEDIAN_INSERT_SIZE
PI tag value is not numeric. -
DUPLICATE_READ_GROUP_ID
Same read group id appears more than once -
MISSING_PLATFORM_VALUE
The read group is missing its PL (platform unit) field -
INVALID_PLATFORM_VALUE
The read group has an invalid value set for its PL field -
DUPLICATE_PROGRAM_GROUP_ID
Same program group id appears more than once -
MATE_NOT_FOUND
Read is marked as paired, but its pair was not found. -
MATES_ARE_SAME_END
Both mates are marked as first of pair, or both mates are marked as second of pair. -
MISMATCH_MATE_CIGAR_STRING
The Cigar String in the MC Tag does not match the Cigar String for the mate of this read. -
MATE_CIGAR_STRING_INVALID_PRESENCE
There is a Cigar String (stored in the MC Tag) for a read whose mate is NOT mapped. -
INVALID_UNPAIRED_MATE_REFERENCE
The mate reference of the unpaired read should be "*" -
INVALID_UNALIGNED_MATE_START
The unaligned mate read start position should be 0 -
MISMATCH_CIGAR_SEQ_LENGTH
Mismatch between the number of bases covered by the CIGAR and sequence -
MISMATCH_SEQ_QUAL_LENGTH
Mismatch between the sequence and quality length -
MISMATCH_FILE_SEQ_DICT
Mismatch between file and sequence dictionaries -
QUALITY_NOT_STORED
Base quality is not stored for the read. -
DUPLICATE_SAM_TAG
A duplicate Sam tag was found in a record. -
CG_TAG_FOUND_IN_ATTRIBUTES
The CG Tag should only be used in BAM format to hold a large cigar -
REF_SEQ_TOO_LONG_FOR_BAI
One or more reference sequences in the dictionary are too long for BAI indexing. -
HEADER_TAG_INVALID_KEY
Header tag key contains invalid characters or is not length two
-
-
Field Details
-
severity
-
-
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
-
getHistogramString
- Returns:
- Format for writing to histogram summary output.
-