pub enum RejectionReason {
Show 18 variants
InsufficientSupport,
MinorityAlignment,
InsufficientStrandSupport,
LowBaseQuality,
ExcessiveNBases,
NoValidAlignment,
LowMappingQuality,
NBasesInUmi,
MissingUmi,
NotPassingFilter,
LowMeanQuality,
InsufficientMinDepth,
ExcessiveErrorRate,
UmiTooShort,
SameStrandOnly,
DuplicateUmi,
OrphanConsensus,
ZeroBasesPostTrimming,
}Expand description
Reasons why a read or template was rejected during processing.
Each variant represents a specific reason for rejection, allowing for detailed tracking and reporting of why data was filtered out.
Variants§
InsufficientSupport
Insufficient reads to generate a consensus
MinorityAlignment
Read has a different, and minority, set of indels
InsufficientStrandSupport
Too few reads agreed on the strand orientation
LowBaseQuality
Base quality scores were below threshold
ExcessiveNBases
Read group had too many N bases
NoValidAlignment
Template had no valid alignments
LowMappingQuality
Reads failed mapping quality threshold
NBasesInUmi
UMI contained N bases
MissingUmi
Read lacks required UMI tag
NotPassingFilter
Reads were marked as not passing filter (PF flag)
LowMeanQuality
Consensus read had too low mean quality
InsufficientMinDepth
Consensus read had insufficient minimum depth
ExcessiveErrorRate
Consensus read had excessive error rate
UmiTooShort
UMI was too short
SameStrandOnly
Template had reads on same strand only (no proper pair)
DuplicateUmi
Duplicate UMI at same genomic position
OrphanConsensus
Only one of R1 or R2 consensus was generated (orphan)
ZeroBasesPostTrimming
Read had zero bases after quality trimming
Implementations§
Source§impl RejectionReason
impl RejectionReason
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Returns a human-readable description.
Sourcepub fn kv_description(&self) -> &'static str
pub fn kv_description(&self) -> &'static str
Returns a short description for key-value metrics output.
Trait Implementations§
Source§impl Clone for RejectionReason
impl Clone for RejectionReason
Source§fn clone(&self) -> RejectionReason
fn clone(&self) -> RejectionReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RejectionReason
impl Debug for RejectionReason
Source§impl<'de> Deserialize<'de> for RejectionReason
impl<'de> Deserialize<'de> for RejectionReason
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RejectionReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RejectionReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Display for RejectionReason
impl Display for RejectionReason
Source§impl Hash for RejectionReason
impl Hash for RejectionReason
Source§impl PartialEq for RejectionReason
impl PartialEq for RejectionReason
Source§impl Serialize for RejectionReason
impl Serialize for RejectionReason
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for RejectionReason
impl Eq for RejectionReason
impl StructuralPartialEq for RejectionReason
Auto Trait Implementations§
impl Freeze for RejectionReason
impl RefUnwindSafe for RejectionReason
impl Send for RejectionReason
impl Sync for RejectionReason
impl Unpin for RejectionReason
impl UnsafeUnpin for RejectionReason
impl UnwindSafe for RejectionReason
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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