Rosetta
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::enzdes::ResidueConformerFilter Class Reference

filter that figures out which rotamer of a given rotamer lib is in the pose at apply time, and can be used to filter on it. supposed to be used for ligands, and for now only tested for them, but should also work with any other residue. can be used for example in specificity redesign, if one wants to divide up a bunch of designs according to the orientation in which they bind the ligand More...

#include <EnzFilters.hh>

Inheritance diagram for protocols::enzdes::ResidueConformerFilter:
Inheritance graph
[legend]

Public Types

typedef protocols::filters::Filter Filter
 
typedef protocols::filters::FilterOP FilterOP
 

Public Member Functions

 ResidueConformerFilter ()
 
 ResidueConformerFilter (ResidueConformerFilter const &other)
 
 ~ResidueConformerFilter () override
 
bool apply (core::pose::Pose const &pose) const override
 Returns true if the given pose passes the filter, false otherwise. More...
 
FilterOP clone () const override
 
FilterOP fresh_instance () const override
 
void report (std::ostream &, core::pose::Pose const &pose) const override
 
core::Real report_sm (core::pose::Pose const &pose) const override
 used to report filter internals through a score or silent file More...
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override
 Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing. More...
 
core::Size get_current_conformer (core::pose::Pose const &pose) const
 
std::string name () const override
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 ~Filter () override
 
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 Member Functions

void initialize_internal_data ()
 

Private Attributes

core::chemical::ResidueTypeCOP restype_
 
core::Size seqpos_
 
core::Size desired_conformer_
 
core::Real max_rms_
 
utility::vector1< core::Sizerelevant_atom_indices_
 
match::downstream::LigandConformerBuilderCOP lig_conformer_builder_
 

Additional Inherited Members

- Protected Attributes inherited from protocols::filters::Filter
std::string scorename_
 

Detailed Description

filter that figures out which rotamer of a given rotamer lib is in the pose at apply time, and can be used to filter on it. supposed to be used for ligands, and for now only tested for them, but should also work with any other residue. can be used for example in specificity redesign, if one wants to divide up a bunch of designs according to the orientation in which they bind the ligand

Member Typedef Documentation

◆ Filter

◆ FilterOP

Constructor & Destructor Documentation

◆ ResidueConformerFilter() [1/2]

protocols::enzdes::ResidueConformerFilter::ResidueConformerFilter ( )

◆ ResidueConformerFilter() [2/2]

protocols::enzdes::ResidueConformerFilter::ResidueConformerFilter ( ResidueConformerFilter const &  other)
default

◆ ~ResidueConformerFilter()

protocols::enzdes::ResidueConformerFilter::~ResidueConformerFilter ( )
overridedefault

Member Function Documentation

◆ apply()

bool protocols::enzdes::ResidueConformerFilter::apply ( core::pose::Pose const &  pose) const
overridevirtual

Returns true if the given pose passes the filter, false otherwise.

Implements protocols::filters::Filter.

References desired_conformer_, get_current_conformer(), and protocols::enzdes::TR().

◆ class_name()

std::string protocols::enzdes::ResidueConformerFilter::class_name ( )
static

◆ clone()

FilterOP protocols::enzdes::ResidueConformerFilter::clone ( ) const
inlineoverridevirtual

◆ fresh_instance()

FilterOP protocols::enzdes::ResidueConformerFilter::fresh_instance ( ) const
inlineoverridevirtual

◆ get_current_conformer()

core::Size protocols::enzdes::ResidueConformerFilter::get_current_conformer ( core::pose::Pose const &  pose) const

this might actually need to be implemented differently for residue types that get their rotamers/conformers from the dunbrack library, as this is bb dependent. this filter however assumes that the conformer library for a given residue type is constant.

References lig_conformer_builder_, core::conformation::Residue::name3(), relevant_atom_indices_, core::pose::Pose::residue(), restype_, seqpos_, and core::pose::Pose::size().

Referenced by apply(), report(), and report_sm().

◆ initialize_internal_data()

void protocols::enzdes::ResidueConformerFilter::initialize_internal_data ( )
private

◆ name()

std::string protocols::enzdes::ResidueConformerFilter::name ( ) const
overridevirtual

◆ parse_my_tag()

void protocols::enzdes::ResidueConformerFilter::parse_my_tag ( utility::tag::TagCOP  ,
basic::datacache::DataMap  
)
overridevirtual

Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing.

Reimplemented from protocols::filters::Filter.

References desired_conformer_, core::chemical::FA_STANDARD, initialize_internal_data(), max_rms_, relevant_atom_indices_, restype_, and seqpos_.

◆ provide_xml_schema()

void protocols::enzdes::ResidueConformerFilter::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

◆ report()

void protocols::enzdes::ResidueConformerFilter::report ( std::ostream &  stream,
core::pose::Pose const &  pose 
) const
overridevirtual

Reimplemented from protocols::filters::Filter.

References get_current_conformer().

◆ report_sm()

core::Real protocols::enzdes::ResidueConformerFilter::report_sm ( core::pose::Pose const &  ) const
overridevirtual

used to report filter internals through a score or silent file

Reimplemented from protocols::filters::Filter.

References get_current_conformer().

Member Data Documentation

◆ desired_conformer_

core::Size protocols::enzdes::ResidueConformerFilter::desired_conformer_
private

Referenced by apply(), and parse_my_tag().

◆ lig_conformer_builder_

match::downstream::LigandConformerBuilderCOP protocols::enzdes::ResidueConformerFilter::lig_conformer_builder_
private

◆ max_rms_

core::Real protocols::enzdes::ResidueConformerFilter::max_rms_
private

◆ relevant_atom_indices_

utility::vector1< core::Size > protocols::enzdes::ResidueConformerFilter::relevant_atom_indices_
private

◆ restype_

core::chemical::ResidueTypeCOP protocols::enzdes::ResidueConformerFilter::restype_
private

◆ seqpos_

core::Size protocols::enzdes::ResidueConformerFilter::seqpos_
private

The documentation for this class was generated from the following files: