Expand description

bio-seq

Bit packed types for biological sequences and k-mers.

Add bio-seq to your project’s Cargo.toml:

[dependencies]
bio-seq = "*"

Example: Kmers

use bio_seq::codec::Dna;
use bio_seq::*;

let seq = dna!("ACTGCTAGCA");

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

!

Re-exports

pub use seq::Seq;

Modules

Bit packable enums representing biological alphabets

Biological sequence types !

Macros

Traits

Parse a value from a string