Enum bio_types::alignment::AlignmentOperation
source · pub enum AlignmentOperation {
Match,
Subst,
Del,
Ins,
Xclip(usize),
Yclip(usize),
}
Expand description
Alignment operations supported are match, substitution, insertion, deletion and clipping. Clipping is a special boundary condition where you are allowed to clip off the beginning/end of the sequence for a fixed clip penalty. The clip penalty could be different for the two sequences x and y, and the clipping operations on both are distinguishable (Xclip and Yclip). The usize value associated with the clipping operations are the lengths clipped. In case of standard modes like Global, Semi-Global and Local alignment, the clip operations are filtered out
Variants§
Trait Implementations§
source§impl Clone for AlignmentOperation
impl Clone for AlignmentOperation
source§fn clone(&self) -> AlignmentOperation
fn clone(&self) -> AlignmentOperation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AlignmentOperation
impl Debug for AlignmentOperation
source§impl Hash for AlignmentOperation
impl Hash for AlignmentOperation
source§impl PartialEq for AlignmentOperation
impl PartialEq for AlignmentOperation
impl Copy for AlignmentOperation
impl Eq for AlignmentOperation
impl StructuralPartialEq for AlignmentOperation
Auto Trait Implementations§
impl Freeze for AlignmentOperation
impl RefUnwindSafe for AlignmentOperation
impl Send for AlignmentOperation
impl Sync for AlignmentOperation
impl Unpin for AlignmentOperation
impl UnwindSafe for AlignmentOperation
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)