use-residue 0.1.0

Primitive biological residue vocabulary for RustUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# use-residue

Primitive residue vocabulary.

`use-residue` describes single biological residue symbols generically across nucleotide and amino-acid sequences. It supports gap and ambiguous residues, but does not infer chemistry, translate residues, score substitutions, or implement alignment algorithms.

```rust
use use_residue::{Residue, ResidueKind};

let gap = Residue::gap();
let ambiguous = Residue::new('N', ResidueKind::Ambiguous);

assert_eq!(gap.symbol().as_char(), '-');
assert_eq!(ambiguous.kind(), &ResidueKind::Ambiguous);
```