find_syncmers_pos

Function find_syncmers_pos 

Source
pub fn find_syncmers_pos<const N: usize>(
    k: usize,
    s: usize,
    ts: &[usize; N],
    seq: &[u8],
) -> Vec<usize>
Expand description

Find positions of syncmers

§Arguments

k: kmer length s: smer length ts: Target positions, set at beginning or end for open/closed syncmers only. Smallest smer must appear in one of these position of the kmer to be a valid syncmer

§Returns

Vec of positions of syncmers (kmers meeting above critera) in the sequence