strobemers 0.1.0

A strobemer implementation
Documentation
  • Coverage
  • 33.33%
    2 out of 6 items documented1 out of 4 items with examples
  • Size
  • Source code size: 11.64 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.32 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mttmartin

Strobemers

A Rust crate to generate strobemers. Strobemers are a type of fuzzy seed originally designed for bioinformatics use-cases to perform well with substitutions and especially insertions/deletions. For more information see the paper: Kristoffer Sahlin, Effective sequence similarity detection with strobemers, Genome Res. November 2021 31: 2080-2094

This crate is currently intended to generate identical strobemers as the original C++ implementation here.

Currently only randstrobes order 2 and 3 are supported.

Usage example

use strobemers::Randstrobe;

fn main() {
    let reference = b"ACGCGTACGAATCACGCCGGGTGTGTGTGATCG";
    let n: usize = 2;
    let k: usize = 15;
    let w_min: usize = 16;
    let w_max: usize = 30;

    let randstrobe_iter = Randstrobe::new(reference, n, k, w_min, w_max).unwrap();
    for strobe in randstrobe_iter {
        println!("randstrobe start positions: {:?}", strobe);
    }
}