You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib.rs
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,14 @@
44
44
//! 3. Compute the 'preferred' strand of the current window as the one with more `TG` characters. This requires `l=w+k-1` to be odd for proper tie-breaking.
45
45
//! 4. Return either the leftmost or rightmost smallest k-mer, depending on the preferred strand.
46
46
//!
47
+
//! ## Syncmers
48
+
//!
49
+
//! _Syncmers_ are (in our notation) windows of length `l = w + k - 1` characters where the minimizer k-mer is a prefix or suffix.
50
+
//! (Or, in classical notation, `k`-mers with the smallest `s`-mer as prefix or suffix.)
51
+
//! These can be computed by using [`syncmers`] or [`canonical_syncmers`] instead of [`minimizers`] or [`canonical_minimizers`].
52
+
//!
53
+
//! Note that canonical syncmers are chosen as the minimum of the forward and reverse-complement k-mer representation.
54
+
//!
47
55
//! ## Input types
48
56
//!
49
57
//! This crate depends on [`packed-seq`] to handle generic types of input sequences.
0 commit comments