strobemers-rs
Rust implementation of strobemer generation (MinStrobes, RandStrobes).
Streaming iterators produce 64-bit strobemer hashes over DNA/RNA sequences.
Background
- The original strobemer concept and reference implementation live at ksahlin/strobemers.
- This crate’s design was guided by the Go port found at shenwei356/strobemers, but the code here is a complete Rust‐native rewrite (zero
unsafe).
Overview
Strobemers are an alternative to contiguous k-mer hashing designed to improve sensitivity in long-read alignment and genome comparison.
This crate provides:
-
MinStrobes (order 2/3)
Choose subsequent strobes by selecting the minimum hash within a sliding window. -
RandStrobes (order 2/3)
Choose subsequent strobes by a pseudo-random but reproducible rule derived from hash values.
Installation
Add to your Cargo.toml via command line.
cargo add strobemers-rs
Quick Start
use ;
License
This project is MIT‑licensed (see LICENSE).