Crates.io | na_seq |
lib.rs | na_seq |
version | 0.2.4 |
source | src |
created_at | 2024-10-06 19:17:58.223989 |
updated_at | 2024-12-09 18:49:51.910696 |
description | DNA and RNA sequence types and functions |
homepage | |
repository | https://github.com/David-OConnor/seq |
max_upload_size | |
id | 1399295 |
size | 47,025 |
This small library contains types and functions used for performing operations on DNA and amino acid sequences. Its most fundamental types arethe Nucleotide
and AminoAcid
enums, representing a single DNA nucleotide, and a single amino acid respectively. 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 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.
We may add alignment, sequence searches, and other utility features in the future.
Also includes restriction enzyme functionality basics.
This library is used by the PlasCAD plasmid editor.