Enum noodles_cram::record::feature::Feature
source · pub enum Feature {
Bases(Position, Vec<u8>),
Scores(Position, Vec<u8>),
ReadBase(Position, u8, u8),
Substitution(Position, Value),
Insertion(Position, Vec<u8>),
Deletion(Position, usize),
InsertBase(Position, u8),
QualityScore(Position, u8),
ReferenceSkip(Position, usize),
SoftClip(Position, Vec<u8>),
Padding(Position, usize),
HardClip(Position, usize),
}
Expand description
A CRAM record feature.
Variants§
Bases(Position, Vec<u8>)
A stretch of bases (position, bases).
Scores(Position, Vec<u8>)
A stretch of quality scores (position, quality scores).
ReadBase(Position, u8, u8)
A base-quality score pair (position, base, quality score).
Substitution(Position, Value)
A base substitution (position, code (read) / base (write)).
Insertion(Position, Vec<u8>)
Inserted bases (position, bases).
Deletion(Position, usize)
A number of deleted bases (position, length).
InsertBase(Position, u8)
A single inserted base (position, base).
QualityScore(Position, u8)
A single quality score (position, score).
ReferenceSkip(Position, usize)
A number of skipped bases (position, length).
SoftClip(Position, Vec<u8>)
Soft clipped bases (position, bases).
Padding(Position, usize)
A number of padded bases (position, length).
HardClip(Position, usize)
A number of hard clipped bases (position, length).
Implementations§
Trait Implementations§
source§impl PartialEq for Feature
impl PartialEq for Feature
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key
and return true
if they are equal.