pub struct SeedAligner { /* private fields */ }Expand description
Seed aligner that searches for seed matches
Implementations§
Source§impl SeedAligner
impl SeedAligner
Sourcepub fn new(policy: SeedPolicy) -> Self
pub fn new(policy: SeedPolicy) -> Self
Create a new seed aligner
Sourcepub fn with_seed_sets(policy: SeedPolicy, seed_sets: usize) -> Self
pub fn with_seed_sets(policy: SeedPolicy, seed_sets: usize) -> Self
Create a seed aligner with custom number of seed sets
Sourcepub fn search<I: FmIndex>(
&mut self,
index: &I,
read: &[Nuc],
) -> Result<SeedResults>
pub fn search<I: FmIndex>( &mut self, index: &I, read: &[Nuc], ) -> Result<SeedResults>
Search for seeds in a read using multiple seed sets
This implements a multi-set seed search. If the first seed set finds no matches, it tries additional sets with different offsets to handle reads with SNPs that break some seeds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeedAligner
impl RefUnwindSafe for SeedAligner
impl Send for SeedAligner
impl Sync for SeedAligner
impl Unpin for SeedAligner
impl UnsafeUnpin for SeedAligner
impl UnwindSafe for SeedAligner
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