core/residue

Types

pub type AminoAcid {
  Stop
  Ala
  Arg
  Asn
  Asp
  Cys
  Gln
  Glu
  Gly
  His
  Ile
  Leu
  Lys
  Met
  Phe
  Pro
  Ser
  Thr
  Trp
  Tyr
  Val
}

Constructors

  • Stop
  • Ala
  • Arg
  • Asn
  • Asp
  • Cys
  • Gln
  • Glu
  • Gly
  • His
  • Ile
  • Leu
  • Lys
  • Met
  • Phe
  • Pro
  • Ser
  • Thr
  • Trp
  • Tyr
  • Val
pub type Residue {
  Residue(
    residue: AminoAcid,
    codon: String,
    letter: String,
    alternates: List(String),
  )
}

Constructors

  • Residue(
      residue: AminoAcid,
      codon: String,
      letter: String,
      alternates: List(String),
    )

Functions

pub fn from_codon(codon: Codon) -> Residue
Search Document