na_seq 0.2.11

DNA, RNA, and amino acid sequence types and functions
Documentation

Nucleic Acid Sequence tools

Crate Docs

This small library contains types and functions used for performing operations on DNA and amino acid sequences. Its most fundamental types are the Nucleotide and AminoAcid enums, representing a single DNA nucleotide, and single amino acid respectively. This library is general, and intended to be used by any program or library that uses DNA sequences. It also includes an Element enum.

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

See the docs for details on data structures and functions available.

Also includes restriction enzyme and ligation basics.

Utility functionality

  • Sequence and nucleotide complements
  • Sequence and nucleotide weight
  • GC content
  • A small restriction enzyme library

We may add Sequence searches, and other utility features in the future.

This library is used by the PlasCAD plasmid editor and Daedalus molecule viewer.