pub struct AlignmentResult {
pub score: i32,
pub aligned_query: Vec<u8>,
pub aligned_target: Vec<u8>,
pub identity_pct: f32,
pub num_matches: usize,
pub num_gaps: usize,
}Expand description
Full alignment result with traceback and statistics.
Fields§
§score: i32Smith-Waterman or Needleman-Wunsch score.
aligned_query: Vec<u8>Aligned query sequence (gaps encoded as b’-’).
aligned_target: Vec<u8>Aligned target sequence (gaps encoded as b’-’).
identity_pct: f32Percent identity over the aligned region.
num_matches: usize§num_gaps: usizeTrait Implementations§
Source§impl Clone for AlignmentResult
impl Clone for AlignmentResult
Source§fn clone(&self) -> AlignmentResult
fn clone(&self) -> AlignmentResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AlignmentResult
impl RefUnwindSafe for AlignmentResult
impl Send for AlignmentResult
impl Sync for AlignmentResult
impl Unpin for AlignmentResult
impl UnsafeUnpin for AlignmentResult
impl UnwindSafe for AlignmentResult
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more