Enum block_aligner::cigar::Operation
source · #[repr(u8)]pub enum Operation {
Sentinel,
M,
Eq,
X,
I,
D,
}Expand description
A match/mismatch, 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| + 1 rows and |r| + 1 columns.
Eq
Match.
X
Mismatch.
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| + 1 rows and |r| + 1 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| + 1 rows and |r| + 1 columns.
Trait Implementations§
source§impl PartialEq<Operation> for Operation
impl PartialEq<Operation> for Operation
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§
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