Enum noodles::sam::record::ParseError [−][src]
pub enum ParseError {
Show 15 variants
MissingField(Field),
InvalidReadName(ParseError),
InvalidFlags(ParseIntError),
InvalidReferenceSequenceName(ParseError),
InvalidPosition(ParseError),
InvalidMappingQuality(ParseIntError),
InvalidCigar(ParseError),
InvalidMateReferenceSequenceName(ParseError),
InvalidMatePosition(ParseError),
InvalidTemplateLength(ParseIntError),
InvalidSequence(ParseError),
SequenceLengthMismatch(u32, u32),
InvalidQualityScores(ParseError),
QualityScoresLengthMismatch(u32, u32),
InvalidData(ParseError),
}
Expand description
An error returned when a raw SAM record fails to parse.
Variants
MissingField(Field)
A required record field is missing.
Tuple Fields of MissingField
0: Field
InvalidReadName(ParseError)
The record read name is invalid.
Tuple Fields of InvalidReadName
0: ParseError
InvalidFlags(ParseIntError)
The record flags field is invalid.
Tuple Fields of InvalidFlags
InvalidReferenceSequenceName(ParseError)
The record reference sequence name is invalid.
Tuple Fields of InvalidReferenceSequenceName
0: ParseError
InvalidPosition(ParseError)
The record position is invalid.
Tuple Fields of InvalidPosition
0: ParseError
InvalidMappingQuality(ParseIntError)
The record mapping quality is invalid.
Tuple Fields of InvalidMappingQuality
InvalidCigar(ParseError)
The record CIGAR string is invalid.
Tuple Fields of InvalidCigar
0: ParseError
InvalidMateReferenceSequenceName(ParseError)
The record mate reference sequence name is invalid.
Tuple Fields of InvalidMateReferenceSequenceName
0: ParseError
InvalidMatePosition(ParseError)
The record mate position is invalid.
Tuple Fields of InvalidMatePosition
0: ParseError
InvalidTemplateLength(ParseIntError)
The record template length is invalid.
Tuple Fields of InvalidTemplateLength
InvalidSequence(ParseError)
The record sequence is invalid.
Tuple Fields of InvalidSequence
0: ParseError
The sequence length does not match the CIGAR string read length.
InvalidQualityScores(ParseError)
The record quality score is invalid.
Tuple Fields of InvalidQualityScores
0: ParseError
The quality scores length does not match the sequence length.
InvalidData(ParseError)
The record data is invalid.
Tuple Fields of InvalidData
0: ParseError
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
Mutably borrows from an owned value. Read more