Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
protocols::simple_filters::ConservedPosMutationFilter Class Reference

#include <ConservedPosMutationFilter.hh>

Inheritance diagram for protocols::simple_filters::ConservedPosMutationFilter:
Inheritance graph
[legend]
Collaboration diagram for protocols::simple_filters::ConservedPosMutationFilter:
Collaboration graph
[legend]

Public Types

typedef filters::Filter parent
 
typedef filters::Filter Filter
 
typedef filters::FilterOP FilterOP
 

Public Member Functions

 ConservedPosMutationFilter ()
 
 ~ConservedPosMutationFilter ()
 
FilterOP clone () const
 
FilterOP fresh_instance () const
 
void parse_my_tag (utility::tag::TagPtr const tag, protocols::moves::DataMap &, filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &)
 
virtual bool apply (core::pose::Pose const &pose) const
 Returns true if the given pose passes the filter, false otherwise. In this case, a pose passes if it less than max_allowed_conserved_pos_mutations_ mutations at conserved position. the decision whether a given position counts as conserved is made by the RestrictConservedLowDdgOperation task operation to prevent duplication of code. More...
 
void set_max_allowed_conserved_pos_mutations (core::Size value)
 
virtual std::string name () const
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 Filter (Filter const &)
 
virtual ~Filter ()
 
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 void apply (core::io::serialization::PipeMap &pmap)
 
virtual void score (core::io::serialization::PipeMap &pmap)
 
virtual core::Real score (core::pose::Pose &pose)
 
virtual void parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks)
 

Private Attributes

toolbox::task_operations::RestrictConservedLowDdgOperationOP conserved_pos_taskop_
 
core::Size max_allowed_conserved_pos_mutations_
 

Additional Inherited Members

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

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::simple_filters::ConservedPosMutationFilter::ConservedPosMutationFilter ( )
protocols::simple_filters::ConservedPosMutationFilter::~ConservedPosMutationFilter ( )

Member Function Documentation

bool protocols::simple_filters::ConservedPosMutationFilter::apply ( core::pose::Pose const &  pose) const
virtual

Returns true if the given pose passes the filter, false otherwise. In this case, a pose passes if it less than max_allowed_conserved_pos_mutations_ mutations at conserved position. the decision whether a given position counts as conserved is made by the RestrictConservedLowDdgOperation task operation to prevent duplication of code.

Implements protocols::filters::Filter.

References core::chemical::ResidueType::aa(), conserved_pos_taskop_, core::chemical::ResidueType::is_protein(), max_allowed_conserved_pos_mutations_, core::chemical::oneletter_code_from_aa(), core::pose::Pose::residue_type(), core::pose::Pose::total_residue(), and protocols::simple_filters::tr().

filters::FilterOP protocols::simple_filters::ConservedPosMutationFilter::clone ( ) const
virtual
filters::FilterOP protocols::simple_filters::ConservedPosMutationFilter::fresh_instance ( ) const
virtual
virtual std::string protocols::simple_filters::ConservedPosMutationFilter::name ( ) const
inlinevirtual

Reimplemented from protocols::filters::Filter.

void protocols::simple_filters::ConservedPosMutationFilter::parse_my_tag ( utility::tag::TagPtr const  tag,
protocols::moves::DataMap ,
filters::Filters_map const &  ,
protocols::moves::Movers_map const &  ,
core::pose::Pose const &   
)
virtual
void protocols::simple_filters::ConservedPosMutationFilter::set_max_allowed_conserved_pos_mutations ( core::Size  value)
inline

Member Data Documentation

toolbox::task_operations::RestrictConservedLowDdgOperationOP protocols::simple_filters::ConservedPosMutationFilter::conserved_pos_taskop_
private

Referenced by apply(), and parse_my_tag().

core::Size protocols::simple_filters::ConservedPosMutationFilter::max_allowed_conserved_pos_mutations_
private

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