pub struct Aligner<I: FmIndex> { /* private fields */ }Expand description
Main aligner that orchestrates seed search and DP extension
Implementations§
Source§impl<I: FmIndex> Aligner<I>
impl<I: FmIndex> Aligner<I>
Sourcepub fn new(index_fw: I, index_rc: I, params: AlignerParams) -> Self
pub fn new(index_fw: I, index_rc: I, params: AlignerParams) -> Self
Create a new aligner with the given FM-indexes
Sourcepub fn align(&self, read: &[Nuc], read_rc: &[Nuc]) -> AlignmentResult
pub fn align(&self, read: &[Nuc], read_rc: &[Nuc]) -> AlignmentResult
Align a single read
Searches both forward and reverse complement strands and returns the best alignment found.
Auto Trait Implementations§
impl<I> Freeze for Aligner<I>where
I: Freeze,
impl<I> RefUnwindSafe for Aligner<I>where
I: RefUnwindSafe,
impl<I> Send for Aligner<I>where
I: Send,
impl<I> Sync for Aligner<I>where
I: Sync,
impl<I> Unpin for Aligner<I>where
I: Unpin,
impl<I> UnsafeUnpin for Aligner<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for Aligner<I>where
I: UnwindSafe,
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