pub enum Code {
Show 16 variants
LowercaseFolded,
TUFolded,
AlphabetContradiction,
InteriorWhitespace,
UnknownCharactersExcluded,
HeaderFieldCountMismatch,
HeaderUtf8Replaced,
HeaderValuesCleaned,
NearDuplicateValues,
MissingLikeValues,
IdentifierLikeField,
ThresholdExceedsSequenceCount,
NoEligiblePositions,
BelowMinCoverage,
HcsLowSupportRegions,
FlagHasNoEffect,
}Expand description
Stable diagnostic codes. The serialised names never change within a schema major version; new codes may be added in minor versions.
Variants§
LowercaseFolded
Lower-case residues were folded to upper case.
TUFolded
T and U were both present and folded to the resolved alphabet’s letter.
AlphabetContradiction
An explicit --alphabet contradicts the residues seen in the data.
InteriorWhitespace
Whitespace inside sequence lines was ignored.
UnknownCharactersExcluded
Characters outside the alphabet were excluded (permissive and report modes).
HeaderFieldCountMismatch
Headers whose field count differs from --header-format received the fill value.
HeaderUtf8Replaced
Invalid UTF-8 in headers was replaced by U+FFFD.
HeaderValuesCleaned
Header values were cleaned (invisible characters removed, trimmed, NFC-normalised, empty values filled).
NearDuplicateValues
Distinct values of a field differ only by case, spacing or compatibility forms.
MissingLikeValues
A field contains tokens that usually mean “missing” (they are kept literally).
IdentifierLikeField
A stratified field looks like an identifier (every value unique).
ThresholdExceedsSequenceCount
The support threshold is not below the number of sequences, so no position can be eligible.
NoEligiblePositions
No position has support above the threshold.
BelowMinCoverage
Positions have sample coverage below --min-coverage.
HcsLowSupportRegions
Conserved regions include positions with support at or below the threshold.
FlagHasNoEffect
An option was given that has no effect with the other options.
Implementations§
Trait Implementations§
impl Copy for Code
impl Eq for Code
Source§impl Ord for Code
impl Ord for Code
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Code
impl PartialOrd for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more