Crate syncmers

Source

Structs§

Syncmers
This is SIGNIFICANTLY slower than find_syncmers function. Prefer to use that instead. t is 0-based (unlike in the paper) NOTE: “By convention, ties are broken by choosing the leftmost position” NOTE: Sequence should be all upper case (or all lower case) BEFORE it gets to this point NOTE: Feed this the canonical strand

Functions§

complement
Complement a sequence, primarily used with revcomp function
find_syncmers
Find syncmers from &u8 and return Vec<&u8>
find_syncmers_pos
Find positions of syncmers
is_revcomp_min
Test if the reverse complement is smaller, lexicographically, than the original sequence Syncmers should be obtained from the Canonical strand (minimum strand). Use this function for your own tests. It is not used in the Syncmer implementation.
revcomp
Reverse complement a DNA Sequence. Case preserved