![]() |
Rosetta Protocols
2014.35
|
#include <NcontactsCalculator.hh>
Public Member Functions | |
NcontactsCalculator () | |
default constructor More... | |
NcontactsCalculator (Real const condist, Size const isep_sep) | |
default constructor More... | |
NcontactsCalculator (NcontactsCalculator const &rval) | |
copy constructor More... | |
virtual | ~NcontactsCalculator () |
destructor More... | |
PoseMetricCalculatorOP | clone () const |
make clone More... | |
void | contact_distance (Real const r) |
set contact distance More... | |
void | ignore_loops (bool const b) |
ignore loops for calculation More... | |
void | ignore_same_sselement (bool const b) |
ignore residue pairs of which residue belong to same ss element More... | |
void | ignore_same_sheet (bool const b) |
ignore residue pairs of which residue belong to same beta sheet ( default true ) More... | |
void | use_only_calpha (bool const b) |
use only calpha for calculation More... | |
![]() | |
StructureDependentCalculator () | |
void | notify_structure_change () |
void | get (std::string const &key, basic::MetricValueBase &val, Pose const &this_pose) |
std::string | get (std::string const &key, Pose const &this_pose) |
Protected Member Functions | |
virtual void | lookup (String const &key, MetricValueBase *valptr) const |
virtual std::string | print (String const &key) const |
virtual void | recompute (Pose const &this_pose) |
recomute ncontacts More... | |
Private Attributes | |
Real | condist_ |
distact used for juding contact pair ( default 6.0 ) More... | |
Size | isep_residue_ |
residue pairs of i < i+isep_residue_ are used for counting #countacts ( default 4 ) More... | |
bool | ignore_loops_ |
ignore loops for calculation ( default false ) More... | |
bool | ignore_same_sselement_ |
ignore residue pairs of which residue belong to same ss element ( default false ) More... | |
bool | ignore_same_sheet_ |
ignore residue pairs of which residue belong to same beta sheet ( default false ) More... | |
bool | use_only_calpha_ |
use only calpha atoms for calculation ( default false ) More... | |
Real | nc_allatm_ |
#atom-contacts among all heavy atoms More... | |
Real | nc_hpatm_ |
#atom-contacts among hydrophobic heavy atoms More... | |
Real | nc_hpres_ |
#atom-contacts among heavy atoms of sidechains of hydrophobic residues More... | |
Real | ss_entrpy_ |
typedef core::pose::metrics::PoseMetricCalculatorOP protocols::fldsgn::NcontactsCalculator::PoseMetricCalculatorOP |
typedef core::pose::metrics::StructureDependentCalculator protocols::fldsgn::NcontactsCalculator::Super |
protocols::fldsgn::NcontactsCalculator::NcontactsCalculator | ( | ) |
default constructor
Referenced by clone().
protocols::fldsgn::NcontactsCalculator::NcontactsCalculator | ( | Real const | condist, |
Size const | isep_sep | ||
) |
default constructor
protocols::fldsgn::NcontactsCalculator::NcontactsCalculator | ( | NcontactsCalculator const & | rval | ) |
copy constructor
|
virtual |
destructor
|
inline |
make clone
References NcontactsCalculator().
|
inline |
set contact distance
References condist_.
|
inline |
ignore loops for calculation
References protocols::match::upstream::b, and ignore_loops_.
|
inline |
ignore residue pairs of which residue belong to same beta sheet ( default true )
References protocols::match::upstream::b, and ignore_same_sheet_.
|
inline |
ignore residue pairs of which residue belong to same ss element
References protocols::match::upstream::b, and ignore_same_sselement_.
|
protectedvirtual |
Implements core::pose::metrics::StructureDependentCalculator.
References basic::check_cast(), nc_allatm_, nc_hpatm_, nc_hpres_, ss_entrpy_, tr, and utility_exit.
|
protectedvirtual |
Implements core::pose::metrics::StructureDependentCalculator.
References basic::Error(), nc_allatm_, nc_hpatm_, nc_hpres_, ss_entrpy_, and utility::to_string().
|
protectedvirtual |
recomute ncontacts
Implements core::pose::metrics::StructureDependentCalculator.
References protocols::fldsgn::topology::calc_strand_pairing_set(), condist_, ignore_loops_, ignore_same_sheet_, ignore_same_sselement_, protocols::fldsgn::MyAtom::is_hydrophobic(), isep_residue_, nc_allatm_, nc_hpatm_, nc_hpres_, nres, core::pose::Pose::residue(), core::pose::Pose::secstruct(), numeric::square(), ss_entrpy_, core::pose::Pose::total_residue(), and use_only_calpha_.
|
inline |
use only calpha for calculation
References protocols::match::upstream::b, and use_only_calpha_.
|
private |
distact used for juding contact pair ( default 6.0 )
Referenced by contact_distance(), and recompute().
|
private |
ignore loops for calculation ( default false )
Referenced by ignore_loops(), and recompute().
|
private |
ignore residue pairs of which residue belong to same beta sheet ( default false )
Referenced by ignore_same_sheet(), and recompute().
|
private |
ignore residue pairs of which residue belong to same ss element ( default false )
Referenced by ignore_same_sselement(), and recompute().
|
private |
residue pairs of i < i+isep_residue_ are used for counting #countacts ( default 4 )
Referenced by recompute().
|
private |
#atom-contacts among all heavy atoms
Referenced by lookup(), print(), and recompute().
|
private |
#atom-contacts among hydrophobic heavy atoms
Referenced by lookup(), print(), and recompute().
|
private |
#atom-contacts among heavy atoms of sidechains of hydrophobic residues
Referenced by lookup(), print(), and recompute().
|
private |
Referenced by lookup(), print(), and recompute().
|
private |
use only calpha atoms for calculation ( default false )
Referenced by recompute(), and use_only_calpha().