SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::aa Class Reference

Amino acid symbols. More...

Public Types

enum  packed_proteinogenic {
  PCK_NONE, PCK_ALANINE, PCK_ARGININE, PCK_ASPARAGINE,
  PCK_ASPARTIC_ACID, PCK_CYSTEINE, PCK_GLUTAMIC_ACID, PCK_GLUTAMINE,
  PCK_GLYCINE, PCK_HISTIDINE, PCK_ISOLEUCINE, PCK_LEUCINE,
  PCK_LYSINE, PCK_METHIONINE, PCK_PHENYLALANINE, PCK_PROLINE,
  PCK_SERINE, PCK_THREONINE, PCK_TRYPTOPHAN, PCK_TYROSINE,
  PCK_VALINE, PCK_SELENOCYSTEINE, PCK_PYRROLYSINE, PCK_ASPARAGINE_OR_ASPARTIC_ACID,
  PCK_GLUTAMINE_OR_GLUTAMIC_ACID, PCK_LEUCINE_OR_ISOLEUCINE, PCK_ANY
}
 Plain enum of proteinogenic amino acids.
 
enum  bit_proteinogenic {
  BIT_NONE =0x00, BIT_ALANINE =0x01, BIT_ARGININE =0x02, BIT_ASPARAGINE =0x04,
  BIT_ASPARTIC_ACID =0x08, BIT_CYSTEINE =0x10, BIT_GLUTAMIC_ACID =0x20, BIT_GLUTAMINE =0x40,
  BIT_GLYCINE =0x80, BIT_HISTIDINE =0x100, BIT_ISOLEUCINE =0x200, BIT_LEUCINE =0x400,
  BIT_LYSINE =0x800, BIT_METHIONINE =0x1000, BIT_PHENYLALANINE =0x2000, BIT_PROLINE =0x4000,
  BIT_SERINE =0x8000, BIT_THREONINE =0x10000, BIT_TRYPTOPHAN =0x20000, BIT_TYROSINE =0x40000,
  BIT_VALINE =0x80000, BIT_SELENOCYSTEINE =0x100000, BIT_PYRROLYSINE =0x200000, BIT_ANY =0x3FFFFF
}
 Bitmask enum of proteinogenic amino acids.
 

Static Public Member Functions

static packed_proteinogenic codon_std (const shore::nuc::base b1, const shore::nuc::base b2, const shore::nuc::base b3)
 Translate a triplet according to the standard code.
 
static packed_proteinogenic dec (const char c)
 Convert to char.
 
static char enc (const packed_proteinogenic p)
 Get from char.
 
static const std::string & mnemonic (const packed_proteinogenic p)
 Get the 3-character mnemonic.
 
static const std::string & name (const packed_proteinogenic p)
 Get the name of the amino acid as a string.
 

Detailed Description

Amino acid symbols.


The documentation for this class was generated from the following file: