Go to the documentation of this file.
5 #ifndef BALL_STRUCTURE_PEPTIDES_H
6 #define BALL_STRUCTURE_PEPTIDES_H
12 #ifndef BALL_KERNEL_PROTEIN_H
16 #ifndef BALL_DATATYPE_OPTIONS_H
20 #ifndef BALL_CONCEPT_EMBEDDABLE_H
191 void setDefaultOptions();
198 bool supportsNamingScheme(
const String& scheme_name)
const;
205 bool supportsPseudoAtomNamingScheme(
const String& scheme_name)
const;
215 const String& old_naming_scheme,
const String& new_naming_scheme)
const;
226 bool matches(
const String& amino_acid,
const String& old_atom_name,
227 const String& old_naming_scheme,
const String& new_atom_name,
228 const String& new_naming_scheme)
const;
241 std::vector<String> resolvePseudoAtoms(
const String& amino_acid,
const String& atom_name,
242 const String& old_naming_scheme,
const String& new_naming_scheme)
const;
256 void readConversionTable_();
261 void readPseudoAtomsConversionTable_();
276 #endif // BALL_STRUCTURE_PEPTIDES_H_
static const String PSEUDO_ATOMS_INIFile
BALL_EXPORT bool IsThreeLetterCode(const String &aa)
#define BALL_EMBEDDABLE(TYPE, BASE)
BALL_EXPORT String ThreeLetterCode(char aa)
std::vector< std::vector< std::vector< String > > > pseudo_conversion_table_
std::vector< std::vector< String > > conversion_table_
BALL_EXPORT ThreeLetterAASequence OneLetterToThreeLetter(const OneLetterAASequence &sequence)
BALL_EXPORT char OneLetterCode(const String &aa)
This class provides conversion of atom names between naming schemata.
virtual ~NameConverter()
Destructor.
BALL_EXPORT OneLetterAASequence GetSequence(const Protein &protein)
String OneLetterAASequence
An amino acid sequence in one-letter code.
static const String INIFile
std::list< String > ThreeLetterAASequence
An amino acid sequence in three-letter code.
static const char * PSEUDO_ATOMS_INIFile
std::vector< String > pseudo_conventions_
BALL_EXPORT bool IsOneLetterCode(char aa)
static const char * INIFile
Default values for options.
BALL_EXPORT OneLetterAASequence ThreeLetterToOneLetter(const ThreeLetterAASequence &sequence)
std::vector< String > conventions_