na_seq 0.2.0

DNA and RNA sequence types and functions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# Nucleic Acid Sequence tools


[![Crate](https://img.shields.io/crates/v/na_seq.svg)](https://crates.io/crates/na_seq)
[![Docs](https://docs.rs/na_seq/badge.svg)](https://docs.rs/na_seq)

This small library contains types and functions used for performing operations on DNA sequences. Its most fundamental type is the `Nucleotide` enum, representing a single DNA nucleotide. This library is general, and intended to be used by any program or library that uses DNA sequences.

It includes functions to convert between `&[Nucleotide]` to string and vice-versa, and convert to and from u8 integer representations. It includes functions to serialize and deserialize in a compact binary format, with 2 bits per nucleotide.

See [the docs](https://docs.rs/na_seq) for details on data structures and functions available.

This library is used by the [PlasCAD](https://github.com/David-OConnor/plascad) plasmid editor.