Crate na_seq

Source

Modules§

  • This module contains code related to ligation. For example, using restriction enzymes to combine or otherwise edit DNA segments.
  • This module loads a library of Restriction enzymes.
  • This module contains info related to Restriction Enzyme sites.

Structs§

Enums§

Functions§

  • Calculate portion of a sequence that is either the G or C nucleotide, on a scale of 0 to 1.
  • A compact binary deserialization of our sequence. Useful for file storage. The first four bytes is sequence length, big endian; we need this, since one of our nucleotides necessarily serializes to 0b00. todo: Is this MSB or LSB?
  • Insert a segment of one sequence into another. For example, for cloning. Note that insert_loc uses 1-based indexing.
  • Create an amino-acid sequence from a string of single-letter identifiers. (Case insensitive)
  • Convert a nucleotide sequence to string.
  • Reverse direction, and swap C for G, A for T.
  • Create a nucleotide sequence from a string. (Case insensitive)
  • Convert a string to bytes associated with ASCII letters. For compatibility with external libraries.
  • Convert a nucleotide sequence to string.
  • Sequence weight, in Daltons. Assumes single-stranded.
  • A compact binary serialization of our sequence. Useful for file storage. The first four bytes is sequence length, big endian; we need this, since one of our nucleotides necessarily serializes to 0b00.

Type Aliases§