Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
#include <coarse_classifier.h>
Public Member Functions | |
std::string | operator() (const Atom &atm) const |
Function object associating a color to an atom, according to its residue name. -yellow (1,1,0): ALA, CYS, GLY, PRO, SER, THR. -green (0,0.8,0): VAL, LEU, ILE, MET, MSE, PHE, TYR, TRP. -blue (0,0,0.93): HIS, LYS, ARG. -purple (0.54,0.04,0.31): ASN, GLN. -red (0.77,0,0): GLU, ASP. -white (0.5,0.5,0.5): any other residue.
Atom | is an atom type. |
|
inline |
returns the color associated to atm
.