use-nucleotide 0.1.0

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

Primitive nucleotide vocabulary.

`use-nucleotide` parses and displays common nucleotide symbols. It keeps DNA/RNA distinctions descriptive and does not perform genome analysis, variant calling, mutation-effect prediction, transcription, or translation.

```rust
use use_nucleotide::Nucleotide;

let base = Nucleotide::parse_symbol('A').unwrap();
let ambiguous = Nucleotide::parse_symbol('N').unwrap();

assert_eq!(base.to_string(), "A");
assert_eq!(ambiguous.to_string(), "N");
```