Struct parasail_rs::Profile
source · pub struct Profile { /* private fields */ }
Expand description
Query profile for sequence alignment
Implementations§
source§impl Profile
impl Profile
sourcepub fn new(
query: &[u8],
with_stats: bool,
matrix: &Matrix
) -> Result<Self, ProfileError>
pub fn new( query: &[u8], with_stats: bool, matrix: &Matrix ) -> Result<Self, ProfileError>
Create a new profile from a query sequence, to use with or without stats, and a scoring matrix. The with_stats should be set to true if you will use an alignment function that returns statistics. If true, the Profile will use the appropriate parasail functions to allocate additional data structures required for statistics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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