Crate syncmers

source ·

Structs

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 a sequence, primarily used with revcomp function
Find syncmers from &u8 and return Vec<&u8>
Find positions of syncmers
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.
Reverse complement a DNA Sequence. Case preserved