Module bio::alphabets [] [src]

Implementation of alphabets and useful utilities.

Example

use bio::alphabets;
let alphabet = alphabets::dna::alphabet();
assert!(alphabet.is_word(b"AACCTgga"));
assert!(!alphabet.is_word(b"AXYZ"));

Modules

dna

Implementation of the DNA alphabet.

protein

Implementation of the protein alphabet.

rna

Implementation of the RNA alphabet.

Structs

Alphabet

Representation of an alphabet.

QGrams

Iterator over q-grams.

RankTransform

Tools based on transforming the alphabet symbols to their lexicographical ranks.

Type Definitions

SymbolRanks