Struct parasail_rs::AlignResult
source · pub struct AlignResult { /* private fields */ }
Expand description
Sequence alignment result.
Implementations§
source§impl AlignResult
impl AlignResult
sourcepub fn get_end_query(&self) -> i32
pub fn get_end_query(&self) -> i32
Get end position of query sequence.
sourcepub fn get_end_ref(&self) -> i32
pub fn get_end_ref(&self) -> i32
Get end position of the reference sequence.
sourcepub fn get_matches(&self) -> Result<i32, AlignResultError>
pub fn get_matches(&self) -> Result<i32, AlignResultError>
Get number of matches in the alignment.
pub fn get_similar(&self) -> i32
sourcepub fn get_length(&self) -> Result<i32, AlignResultError>
pub fn get_length(&self) -> Result<i32, AlignResultError>
Get alignment length.
sourcepub fn get_score_table(&self) -> Result<i32, AlignResultError>
pub fn get_score_table(&self) -> Result<i32, AlignResultError>
Get score table.
sourcepub fn get_matches_table(&self) -> Result<i32, AlignResultError>
pub fn get_matches_table(&self) -> Result<i32, AlignResultError>
Get matches table.
sourcepub fn get_similar_table(&self) -> Result<i32, AlignResultError>
pub fn get_similar_table(&self) -> Result<i32, AlignResultError>
Get similar table.
sourcepub fn get_length_table(&self) -> Result<i32, AlignResultError>
pub fn get_length_table(&self) -> Result<i32, AlignResultError>
Get length table.
sourcepub fn get_score_row(&self) -> Result<i32, AlignResultError>
pub fn get_score_row(&self) -> Result<i32, AlignResultError>
Get score row.
sourcepub fn get_matches_row(&self) -> Result<i32, AlignResultError>
pub fn get_matches_row(&self) -> Result<i32, AlignResultError>
Get matches row.
sourcepub fn get_similar_row(&self) -> Result<i32, AlignResultError>
pub fn get_similar_row(&self) -> Result<i32, AlignResultError>
Get similar row.
sourcepub fn get_length_row(&self) -> Result<i32, AlignResultError>
pub fn get_length_row(&self) -> Result<i32, AlignResultError>
Get length row.
sourcepub fn get_score_col(&self) -> Result<i32, AlignResultError>
pub fn get_score_col(&self) -> Result<i32, AlignResultError>
Get score column.
sourcepub fn get_matches_col(&self) -> Result<i32, AlignResultError>
pub fn get_matches_col(&self) -> Result<i32, AlignResultError>
Get matches column.
sourcepub fn get_similar_col(&self) -> Result<i32, AlignResultError>
pub fn get_similar_col(&self) -> Result<i32, AlignResultError>
Get similar column.
sourcepub fn get_length_col(&self) -> Result<i32, AlignResultError>
pub fn get_length_col(&self) -> Result<i32, AlignResultError>
Get length column
sourcepub fn get_trace_table(&self) -> Result<i32, AlignResultError>
pub fn get_trace_table(&self) -> Result<i32, AlignResultError>
Get trace table.
sourcepub fn print_traceback(&self, query: &[u8], reference: &[u8])
pub fn print_traceback(&self, query: &[u8], reference: &[u8])
Get alignment strings and statistics
sourcepub fn get_traceback_strings(
&self,
query: &[u8],
reference: &[u8],
) -> Result<Traceback, AlignResultError>
pub fn get_traceback_strings( &self, query: &[u8], reference: &[u8], ) -> Result<Traceback, AlignResultError>
Get alignment strings.
sourcepub fn get_cigar(
&self,
query: &[u8],
reference: &[u8],
) -> Result<String, AlignResultError>
pub fn get_cigar( &self, query: &[u8], reference: &[u8], ) -> Result<String, AlignResultError>
Get CIGAR string.
sourcepub fn is_semi_global(&self) -> bool
pub fn is_semi_global(&self) -> bool
Check if the alignment mode is semi-global.
sourcepub fn is_saturated(&self) -> bool
pub fn is_saturated(&self) -> bool
Check if the solution width is saturated (i.e., using 8-bit solution width first and falling back to 16-bit if necessary).
sourcepub fn is_striped(&self) -> bool
pub fn is_striped(&self) -> bool
Check if vector strategy is striped.
pub fn is_blocked(&self) -> bool
sourcepub fn is_stats_table(&self) -> bool
pub fn is_stats_table(&self) -> bool
Check if result is a stats table
sourcepub fn is_stats_rowcol(&self) -> bool
pub fn is_stats_rowcol(&self) -> bool
Check if result is a row and column of table with additional statistics.
Trait Implementations§
source§impl Clone for AlignResult
impl Clone for AlignResult
source§fn clone(&self) -> AlignResult
fn clone(&self) -> AlignResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for AlignResult
impl RefUnwindSafe for AlignResult
impl !Send for AlignResult
impl !Sync for AlignResult
impl Unpin for AlignResult
impl UnwindSafe for AlignResult
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
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)
clone_to_uninit
)