Crate na_seq Copy item path Source pub use crate::amino_acids::AaCategory ;
pub use crate::amino_acids::AaIdent ;
pub use crate::amino_acids::AminoAcid ;
pub use crate::amino_acids::AminoAcidGeneral ;
pub use crate::amino_acids::AminoAcidProtenationVariant ;
pub use crate::amino_acids::CodingResult ;
pub use crate::element::AtomTypeInRes ;
pub use crate::element::Element ;
pub use crate::nucleotide::Nucleotide ;
pub use crate::nucleotide::NucleotideGeneral ;
pub use crate::restriction_enzyme::RestrictionEnzyme ;
amino_acids element ligation This module contains code related to ligation. For example, using restriction enzymes to
combine or otherwise edit DNA segments. nucleotide This module contains types and functions for working with nucleotides. re_lib This module loads a library of Restriction enzymes. restriction_enzyme This module contains info related to Restriction Enzyme sites. IndexError SeqTopology calc_gc Calculate portion of a sequence that is either the G or C nucleotide, on a scale of 0 to 1. deser_seq_bin 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. insert_into_seq Insert a segment of one sequence into another. For example, for cloning.
Note that insert_loc
uses 1-based indexing. seq_aa_from_str Create an amino-acid sequence from a string of single-letter identifiers. (Case insensitive) seq_aa_to_str Convert an amino acid sequence to string of single-letter idents. seq_aa_to_u8_lower Convert a string to bytes associated with UTF-8 letters. For compatibility with external libraries. seq_aa_to_u8_upper Convert a sequence of amino acids to bytes associated with UTF-8 letters. For compatibility with external libraries. seq_complement Reverse direction, and swap C for G, A for T. seq_from_str Create a nucleotide sequence from a string. (Case insensitive) seq_to_str_lower Convert a nucleotide sequence to string. seq_to_str_upper Convert a nucleotide sequence to string. seq_to_u8_lower Convert a sequence of amino acids to bytes associated with UTF-8 letters. For compatibility with external libraries. seq_to_u8_upper Convert a sequence to bytes associated with UTF-8 letters. For compatibility with external libraries. seq_weight Sequence weight, in Daltons. Assumes single-stranded. serialize_seq_bin 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. Seq