Rosetta Core  2014.16.56682
Namespaces | Functions
AA.cc File Reference

translation between amino acid enum and string name/one letter char codes More...

#include <core/chemical/AA.hh>
#include <utility/exit.hh>
#include <map>
#include <utility/vector1_bool.hh>
#include <sstream>

Namespaces

 core
 A class for defining atom parameters, known as atom_types.
 
 core::chemical
 

Functions

std::map< std::string, AA > core::chemical::setup_name2aa ()
 setup the map that converts string name to AA enum More...
 
std::map< char, AA > core::chemical::setup_oneletter2aa ()
 setup the map the converts one letter char to AA enum More...
 
std::map< std::string, AA > & core::chemical::name2aa ()
 map that converts string name to AA enum More...
 
std::map< char, AA > & core::chemical::oneletter2aa ()
 map that converts one letter char to AA enum More...
 
utility::vector1< std::string > core::chemical::setup_aa2name ()
 setup the vector that maps AA enum to string name More...
 
utility::vector1< std::string > & core::chemical::aa2name ()
 vector that maps AA enum to string name More...
 
utility::vector1< char > core::chemical::setup_aa2oneletter ()
 setup the vector that maps AA enum to one letter char More...
 
utility::vector1< char > & core::chemical::aa2oneletter ()
 vector that maps AA enum to one letter char More...
 
AA core::chemical::aa_from_name (std::string const &name)
 Give an AA string name, return its enum type. More...
 
bool core::chemical::is_canonical_D_aa (AA aa)
 Give an enum type, return true if and only if it is a D-amino acid that is the mirror image of a canonical alpha-L-amino acid. More...
 
AA core::chemical::get_L_equivalent (AA aa)
 Given an enum type for a D-amino acid with a canonical side-chain, return the enum type for the corresponding L-amino acid (or aa_unk if the corresponding L-amino acid cannot be determined). More...
 
AA core::chemical::get_D_equivalent (AA aa)
 Given an enum type for a L-amino acid with a canonical side-chain, return the enum type for the corresponding D-amino acid (or aa_unk if the corresponding D-amino acid cannot be determined). More...
 
std::istream & core::chemical::operator>> (std::istream &is, AA &aa)
 input operator for AA enum type More...
 
std::ostream & core::chemical::operator<< (std::ostream &os, AA const &aa)
 output operator for AA enum type More...
 
std::string core::chemical::name_from_aa (AA aa)
 give a enum type and return the string name More...
 
char core::chemical::oneletter_code_from_aa (AA aa)
 give a enum type and return the string name More...
 
AA core::chemical::aa_from_oneletter_code (char onelettercode)
 give a 1 letter code and return the string name More...
 
bool core::chemical::oneletter_code_specifies_aa (char onelettercode)
 

Detailed Description

translation between amino acid enum and string name/one letter char codes

Author
Phil Bradley