# `bio-seq` ### Bit packed and well-typed biological sequences

```rust use bio_seq::*;

let seq = dna!("ACTGCTAGCA");

for kmer in seq.kmers::<8>() { println!("{}", kmer); } ```

Kmers

Kmers are sequences of DNA with a fixed size. These are implemented with const generics.

Minimisers for free

The 2-bit representation of DNA sequences is lexicographically ordered:

rust // find the lexicographically minimum 8-mer fn minimise(seq: Seq<Dna>) -> Option<Kmer::<8>> { seq.kmers::<8>().min() }

Drop-in compatibility with rust-bio

meant to replace Text/TextSlice

TODO