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

#include <EnzFilters.hh>

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

Public Types

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

Public Member Functions

 EnzdesScorefileFilter ()
 
 EnzdesScorefileFilter (EnzdesScorefileFilter const &other)
 
 ~EnzdesScorefileFilter () 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 parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override
 
void set_cstio (toolbox::match_enzdes_util::EnzConstraintIOCOP enzcst_io)
 
void examine_pose (core::pose::Pose const &pose) const
 
utility::vector1< core::io::silent::SilentEnergy > const & silent_Es () const
 
core::pose::PoseOP rnl_pose ()
 
void clear_rnl_pose ()
 clear rnl pose to save some memory More...
 
std::string name () const override
 
- Public Member Functions inherited from protocols::filters::Filter
 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 Member Functions

void initialize_value_evaluators_from_file (std::string const &filename)
 
void compute_metrics_for_residue_subset (std::string sub_name, bool separate_out_constraints, core::pose::Pose const &calc_pose, utility::vector1< core::Size > const &res_subset) const
 
void setup_pose_metric_calculators (core::pose::Pose const &pose, bool separate_out_constraints) const
 function to setup residue specific calculators for all the catalytic residues and the ligand More...
 

Private Attributes

bool no_packstat_calc_
 
bool native_comparison_
 
bool repack_no_lig_
 
bool keep_rnl_pose_
 
core::pose::PoseOP rnl_pose_
 
core::scoring::ScoreFunctionOP sfxn_
 
toolbox::match_enzdes_util::EnzConstraintIOCOP enzcst_io_
 
std::map< core::Size, utility::vector1< std::pair< std::string, std::string > > > residue_calculators_
 
utility::vector1< std::pair< std::string, std::string > > native_compare_calculators_
 
DesignVsNativeComparisonOP native_comp_
 
utility::vector1< core::io::silent::SilentEnergysilent_Es_
 
utility::vector1< std::string > relevant_scoreterms_
 
utility::vector1< std::pair< core::Size, core::Size > > spec_segments_
 
std::string reqfile_name_
 

Static Private Attributes

static std::map< std::string, std::map< std::string, ValueEvaluator > > evaluator_map_
 

Additional Inherited Members

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

Detailed Description

brief Class that calculates silent energies for an enzdes type scorefile these silent energies can then be written into a scorefile. class is derived from Filter because eventually it should be possible to have this class read in a requirement file and return false if any of the silent energies don't have the required value

Member Typedef Documentation

◆ Filter

◆ FilterOP

Constructor & Destructor Documentation

◆ EnzdesScorefileFilter() [1/2]

protocols::enzdes::EnzdesScorefileFilter::EnzdesScorefileFilter ( )

◆ EnzdesScorefileFilter() [2/2]

protocols::enzdes::EnzdesScorefileFilter::EnzdesScorefileFilter ( EnzdesScorefileFilter const &  other)

◆ ~EnzdesScorefileFilter()

protocols::enzdes::EnzdesScorefileFilter::~EnzdesScorefileFilter ( )
overridedefault

Member Function Documentation

◆ apply()

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

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

Implements protocols::filters::Filter.

References evaluator_map_, examine_pose(), reqfile_name_, silent_Es_, and protocols::enzdes::TR().

◆ class_name()

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

◆ clear_rnl_pose()

void protocols::enzdes::EnzdesScorefileFilter::clear_rnl_pose ( )

clear rnl pose to save some memory

References rnl_pose_.

◆ clone()

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

◆ compute_metrics_for_residue_subset()

void protocols::enzdes::EnzdesScorefileFilter::compute_metrics_for_residue_subset ( std::string  sub_name,
bool  separate_out_constraints,
core::pose::Pose const &  calc_pose,
utility::vector1< core::Size > const &  res_subset 
) const
private

◆ examine_pose()

void protocols::enzdes::EnzdesScorefileFilter::examine_pose ( core::pose::Pose const &  pose) const

◆ fresh_instance()

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

◆ initialize_value_evaluators_from_file()

void protocols::enzdes::EnzdesScorefileFilter::initialize_value_evaluators_from_file ( std::string const &  filename)
private

◆ name()

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

◆ parse_my_tag()

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

not implemented yet

Reimplemented from protocols::filters::Filter.

References initialize_value_evaluators_from_file(), and reqfile_name_.

◆ provide_xml_schema()

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

◆ rnl_pose()

core::pose::PoseOP protocols::enzdes::EnzdesScorefileFilter::rnl_pose ( )

References rnl_pose_.

◆ set_cstio()

void protocols::enzdes::EnzdesScorefileFilter::set_cstio ( toolbox::match_enzdes_util::EnzConstraintIOCOP  enzcst_io)

References enzcst_io_.

◆ setup_pose_metric_calculators()

void protocols::enzdes::EnzdesScorefileFilter::setup_pose_metric_calculators ( core::pose::Pose const &  pose,
bool  separate_out_constraints 
) const
private

◆ silent_Es()

utility::vector1< core::io::silent::SilentEnergy > const& protocols::enzdes::EnzdesScorefileFilter::silent_Es ( ) const
inline

References silent_Es_.

Member Data Documentation

◆ enzcst_io_

toolbox::match_enzdes_util::EnzConstraintIOCOP protocols::enzdes::EnzdesScorefileFilter::enzcst_io_
private

Referenced by examine_pose(), and set_cstio().

◆ evaluator_map_

std::map< std::string, std::map< std::string, ValueEvaluator > > protocols::enzdes::EnzdesScorefileFilter::evaluator_map_
staticprivate

◆ keep_rnl_pose_

bool protocols::enzdes::EnzdesScorefileFilter::keep_rnl_pose_
private

Referenced by examine_pose().

◆ native_comp_

DesignVsNativeComparisonOP protocols::enzdes::EnzdesScorefileFilter::native_comp_
private

◆ native_compare_calculators_

utility::vector1< std::pair< std::string, std::string > > protocols::enzdes::EnzdesScorefileFilter::native_compare_calculators_
mutableprivate

◆ native_comparison_

bool protocols::enzdes::EnzdesScorefileFilter::native_comparison_
private

◆ no_packstat_calc_

bool protocols::enzdes::EnzdesScorefileFilter::no_packstat_calc_
private

◆ relevant_scoreterms_

utility::vector1< std::string > protocols::enzdes::EnzdesScorefileFilter::relevant_scoreterms_
private

◆ repack_no_lig_

bool protocols::enzdes::EnzdesScorefileFilter::repack_no_lig_
private

Referenced by examine_pose().

◆ reqfile_name_

std::string protocols::enzdes::EnzdesScorefileFilter::reqfile_name_
private

Referenced by apply(), and parse_my_tag().

◆ residue_calculators_

std::map< core::Size, utility::vector1< std::pair< std::string, std::string > > > protocols::enzdes::EnzdesScorefileFilter::residue_calculators_
mutableprivate

◆ rnl_pose_

core::pose::PoseOP protocols::enzdes::EnzdesScorefileFilter::rnl_pose_
mutableprivate

◆ sfxn_

core::scoring::ScoreFunctionOP protocols::enzdes::EnzdesScorefileFilter::sfxn_
mutableprivate

Referenced by examine_pose().

◆ silent_Es_

utility::vector1< core::io::silent::SilentEnergy > protocols::enzdes::EnzdesScorefileFilter::silent_Es_
mutableprivate

◆ spec_segments_

utility::vector1< std::pair< core::Size, core::Size > > protocols::enzdes::EnzdesScorefileFilter::spec_segments_
mutableprivate

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