IMP Reference Guide
2.12.0
The Integrative Modeling Platform
|
A decorator for a residue with probability of secondary structure. More...
#include <IMP/atom/SecondaryStructureResidue.h>
A decorator for a residue with probability of secondary structure.
Contains probabilities for each sse type (helix, strand, coil)
Definition at line 26 of file SecondaryStructureResidue.h.
Public Member Functions | |
SecondaryStructureResidue (::IMP::Model *m,::IMP::ParticleIndex id) | |
SecondaryStructureResidue (const IMP::ParticleAdaptor &d) | |
Floats | get_all_probabilities () |
Return all probabilities in one vector. More... | |
Particle * | get_particle () const |
Float | get_prob_coil () const |
Float | get_prob_helix () const |
Float | get_prob_strand () const |
void | set_prob_coil (Float t) |
void | set_prob_helix (Float t) |
void | set_prob_strand (Float t) |
void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::Decorator | |
bool | get_is_valid () const |
Returns true if constructed with a non-default constructor. More... | |
Model * | get_model () const |
Returns the Model containing the particle. More... | |
Particle * | get_particle () const |
Returns the particle decorated by this decorator. More... | |
ParticleIndex | get_particle_index () const |
Returns the particle index decorated by this decorator. More... | |
operator Particle * () const | |
operator ParticleIndex () const | |
Particle * | operator-> () const |
Static Public Member Functions | |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
Return true if the particle is a secondary structure residue. More... | |
static FloatKey | get_prob_coil_key () |
static FloatKey | get_prob_helix_key () |
static FloatKey | get_prob_strand_key () |
static SecondaryStructureResidue | setup_particle (Model *m, ParticleIndex pi, Float prob_helix, Float prob_strand, Float prob_coil) |
static SecondaryStructureResidue | setup_particle (IMP::ParticleAdaptor decorator, Float prob_helix, Float prob_strand, Float prob_coil) |
static SecondaryStructureResidue | setup_particle (Particle *res_p) |
Set up SecondaryStructureResidue with default probabilities. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Decorator | |
Decorator (Model *m, ParticleIndex pi) | |
Decorator (ParticleAdaptor p) | |
Floats IMP::atom::SecondaryStructureResidue::get_all_probabilities | ( | ) |
Return all probabilities in one vector.
Definition at line 69 of file SecondaryStructureResidue.h.
|
static |
Return true if the particle is a secondary structure residue.
Definition at line 58 of file SecondaryStructureResidue.h.
Float IMP::atom::SecondaryStructureResidue::get_prob_coil | ( | ) | const |
returns the value of the prob_coil attribute, or 0.333 if \ the prob_coil attribute is missing
Definition at line 82 of file SecondaryStructureResidue.h.
Float IMP::atom::SecondaryStructureResidue::get_prob_helix | ( | ) | const |
returns the value of the prob_helix attribute, or 0.333 if \ the prob_helix attribute is missing
Definition at line 78 of file SecondaryStructureResidue.h.
Float IMP::atom::SecondaryStructureResidue::get_prob_strand | ( | ) | const |
returns the value of the prob_strand attribute, or 0.333 if \ the prob_strand attribute is missing
Definition at line 80 of file SecondaryStructureResidue.h.
void IMP::atom::SecondaryStructureResidue::set_prob_coil | ( | Float | t | ) |
sets the prob_coil attribute to t
Definition at line 82 of file SecondaryStructureResidue.h.
void IMP::atom::SecondaryStructureResidue::set_prob_helix | ( | Float | t | ) |
sets the prob_helix attribute to t
Definition at line 78 of file SecondaryStructureResidue.h.
void IMP::atom::SecondaryStructureResidue::set_prob_strand | ( | Float | t | ) |
sets the prob_strand attribute to t
Definition at line 80 of file SecondaryStructureResidue.h.
|
static |
Setup the particle so it can be used with this decorator.
Definition at line 46 of file SecondaryStructureResidue.h.
|
static |
Set up SecondaryStructureResidue with default probabilities.
Definition at line 49 of file SecondaryStructureResidue.h.