pub enum Feature {
Bases {
position: Position,
bases: Vec<u8>,
},
Scores {
position: Position,
quality_scores: Vec<u8>,
},
ReadBase {
position: Position,
base: u8,
quality_score: u8,
},
Substitution {
position: Position,
value: Value,
},
Insertion {
position: Position,
bases: Vec<u8>,
},
Deletion {
position: Position,
len: usize,
},
InsertBase {
position: Position,
base: u8,
},
QualityScore {
position: Position,
quality_score: u8,
},
ReferenceSkip {
position: Position,
len: usize,
},
SoftClip {
position: Position,
bases: Vec<u8>,
},
Padding {
position: Position,
len: usize,
},
HardClip {
position: Position,
len: usize,
},
}
Expand description
A CRAM record feature.
Variants§
Bases
A stretch of bases.
Scores
A stretch of quality scores.
ReadBase
A base-quality score pair.
Substitution
A base substitution.
Insertion
Inserted bases.
Deletion
A number of deleted bases.
InsertBase
A single inserted base.
QualityScore
A single quality score.
ReferenceSkip
A number of skipped bases.
SoftClip
Soft clipped bases.
Padding
A number of padded bases.
HardClip
A number of hard clipped bases.
Implementations§
Source§impl Feature
impl Feature
Trait Implementations§
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.