Enum block_aligner::cigar::Operation
source · #[repr(u8)]
pub enum Operation {
Sentinel,
M,
I,
D,
}Expand description
A match/mistmatch, insertion, or deletion operation.
When aligning q against r, this represents the edit operations to get from r to q.
Variants
Sentinel
Placeholder variant.
M
Match or mismatch.
This is a diagonal transition in the DP matrix with |q| rows and |r| columns.
I
Insertion.
When aligning sequences q against r, this is a gap in r.
This is a row transition in the DP matrix with |q| rows and |r| columns.
D
Deletion.
When aligning sequences q against r, this is a gap in q.
This is a column transition in the DP matrix with |q| rows and |r| columns.
Trait Implementations
impl Copy for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more