Rosetta
|
#include <HelixKinkFilter.hh>
Public Types | |
typedef protocols::filters::Filter | Super |
typedef protocols::filters::Filter | Filter |
typedef protocols::filters::FilterOP | FilterOP |
typedef std::string | String |
typedef core::Real | Real |
typedef core::Size | Size |
typedef core::pose::Pose | Pose |
typedef utility::tag::TagCOP | TagCOP |
typedef basic::datacache::DataMap | DataMap |
Public Member Functions | |
HelixKinkFilter () | |
~HelixKinkFilter () override | |
FilterOP | clone () const override |
FilterOP | fresh_instance () const override |
void | set_bend_angle (Real const bend_angle) |
Set the helix bend angle. More... | |
void | set_secstruct (String const &secstruct) |
Set the secondary structure string. More... | |
void | set_resnums (String const &resnums="") |
Set the resnums (comma-separated string to be evaluated) More... | |
void | set_helix_range (core::Size const helix_start, core::Size const helix_end) |
Set helix_start_, helix_end_, and select_range_. More... | |
void | set_select_range (bool const select_range) |
Set select_range_. More... | |
Real | get_bend_angle () const |
Get the helix bend angle. More... | |
String | get_secstruct () const |
Get the secondary structure string. More... | |
String | get_string_resnums () const |
Get the resnum string. More... | |
bool | get_select_resnums () const |
Get select_resnums_. More... | |
core::Size | get_helix_start () const |
Get helix_start_. More... | |
core::Size | get_helix_end () const |
Get helix_end_. More... | |
bool | get_select_range () const |
Get select_range_. More... | |
void | parse_my_tag (TagCOP tag, basic::datacache::DataMap &) override |
parse xml More... | |
bool | apply (Pose const &pose) const override |
Returns true if the given pose passes the filter, false otherwise. More... | |
std::string | name () const override |
![]() | |
Filter () | |
Filter (std::string const &) | |
~Filter () override | |
virtual void | report (std::ostream &, core::pose::Pose const &) const |
virtual core::Real | report_sm (core::pose::Pose const &) const |
used to report filter internals through a score or silent file More... | |
virtual std::string | get_type () const |
std::string | get_user_defined_name () const |
void | set_user_defined_name (std::string const &name) |
virtual void | clear () |
used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More... | |
virtual core::Real | score (core::pose::Pose &pose) |
virtual void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Static Public Member Functions | |
static std::string | class_name () |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
Real | bend_angle_ |
String | secstruct_ |
String | string_resnums_ |
bool | select_resnums_ |
bool | select_range_ |
core::Size | helix_start_ |
core::Size | helix_end_ |
Additional Inherited Members | |
![]() | |
std::string | scorename_ |
typedef std::string protocols::fldsgn::filters::HelixKinkFilter::String |
typedef utility::tag::TagCOP protocols::fldsgn::filters::HelixKinkFilter::TagCOP |
protocols::fldsgn::filters::HelixKinkFilter::HelixKinkFilter | ( | ) |
|
inlineoverride |
|
overridevirtual |
Returns true if the given pose passes the filter, false otherwise.
Implements protocols::filters::Filter.
References bend_angle_, core::pose::Pose::chain(), protocols::fldsgn::topology::check_kink_helix(), core::scoring::Energies::data(), core::sequence::end, core::pose::Pose::energies(), core::pose::get_resnum_list_ordered(), core::scoring::EnergiesCacheableDataType::HBOND_SET, helix_end_, helix_start_, core::conformation::Residue::is_lower_terminus(), core::pose::Pose::residue(), core::pose::Pose::secstruct(), secstruct_, select_range_, select_resnums_, core::pose::Pose::size(), string_resnums_, and protocols::fldsgn::TR().
|
static |
Referenced by protocols::fldsgn::filters::HelixKinkFilterCreator::keyname(), name(), and provide_xml_schema().
|
inlineoverridevirtual |
Implements protocols::filters::Filter.
|
inlineoverridevirtual |
Implements protocols::filters::Filter.
core::Real protocols::fldsgn::filters::HelixKinkFilter::get_bend_angle | ( | ) | const |
Get the helix bend angle.
References bend_angle_.
core::Size protocols::fldsgn::filters::HelixKinkFilter::get_helix_end | ( | ) | const |
Get helix_end_.
References helix_end_.
core::Size protocols::fldsgn::filters::HelixKinkFilter::get_helix_start | ( | ) | const |
Get helix_start_.
References helix_start_.
std::string protocols::fldsgn::filters::HelixKinkFilter::get_secstruct | ( | ) | const |
Get the secondary structure string.
References secstruct_.
bool protocols::fldsgn::filters::HelixKinkFilter::get_select_range | ( | ) | const |
Get select_range_.
References select_range_.
bool protocols::fldsgn::filters::HelixKinkFilter::get_select_resnums | ( | ) | const |
Get select_resnums_.
References select_resnums_.
std::string protocols::fldsgn::filters::HelixKinkFilter::get_string_resnums | ( | ) | const |
Get the resnum string.
References string_resnums_.
|
overridevirtual |
Reimplemented from protocols::filters::Filter.
References class_name().
|
overridevirtual |
parse xml
Reimplemented from protocols::filters::Filter.
References bend_angle_, protocols::parser::BluePrint::secstruct(), secstruct_, select_range_, select_resnums_, set_helix_range(), and set_resnums().
|
static |
void protocols::fldsgn::filters::HelixKinkFilter::set_bend_angle | ( | Real const | bend_angle | ) |
Set the helix bend angle.
References bend_angle_.
void protocols::fldsgn::filters::HelixKinkFilter::set_helix_range | ( | core::Size const | helix_start, |
core::Size const | helix_end | ||
) |
Set helix_start_, helix_end_, and select_range_.
This function sets helix_start_, helix_end_, and sets select_range_ to true
References helix_end_, helix_start_, select_range_, and protocols::fldsgn::TR().
Referenced by parse_my_tag().
void protocols::fldsgn::filters::HelixKinkFilter::set_resnums | ( | String const & | resnums = "" | ) |
Set the resnums (comma-separated string to be evaluated)
This function sets string_resnums_ and select_resnums_. select_resnums_ will be set to arguments' value. If an empty string is passed (default), select_resnums_ will be set to false. Otherwise, select_resnums_ will be set to true.
References select_resnums_, string_resnums_, and protocols::fldsgn::TR().
Referenced by parse_my_tag().
void protocols::fldsgn::filters::HelixKinkFilter::set_secstruct | ( | String const & | secstruct | ) |
Set the secondary structure string.
References secstruct_.
void protocols::fldsgn::filters::HelixKinkFilter::set_select_range | ( | bool const | select_range | ) |
Set select_range_.
References select_range_.
|
private |
Referenced by apply(), get_bend_angle(), parse_my_tag(), and set_bend_angle().
|
private |
Referenced by apply(), get_helix_end(), and set_helix_range().
|
private |
Referenced by apply(), get_helix_start(), and set_helix_range().
|
private |
Referenced by apply(), get_secstruct(), parse_my_tag(), and set_secstruct().
|
private |
Referenced by apply(), get_select_range(), parse_my_tag(), set_helix_range(), and set_select_range().
|
private |
Referenced by apply(), get_select_resnums(), parse_my_tag(), and set_resnums().
|
private |
Referenced by apply(), get_string_resnums(), and set_resnums().