Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DesignableResiduesFilter.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 sw=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file protocols/filters/DesignableResiduesFilter.hh
11 /// @brief Reports to Tracer which residues are designable in a taskfactory
12 /// @author Sarel Fleishman (sarelf@uw.edu)
13 
14 #ifndef INCLUDED_protocols_protein_interface_design_filters_DesignableResiduesFilter_hh
15 #define INCLUDED_protocols_protein_interface_design_filters_DesignableResiduesFilter_hh
16 
17 
18 // Project Headers
20 #include <core/pose/Pose.fwd.hh>
21 #include <utility/tag/Tag.fwd.hh>
25 
27 #include <utility/vector1.hh>
28 
29 // Unit headers
30 
31 namespace protocols {
32 namespace protein_interface_design{
33 namespace filters {
34 
36 
37 {
38 private:
40 public:
41  /// @brief default ctor
43  ///@brief Constructor with a single target residue
44  virtual bool apply( core::pose::Pose const & pose ) const;
45  virtual void report( std::ostream & out, core::pose::Pose const & pose ) const;
46  virtual core::Real report_sm( core::pose::Pose const & pose ) const;
47  virtual protocols::filters::FilterOP clone() const;
49  core::Size compute( core::pose::Pose const & pose ) const;
50  virtual ~DesignableResiduesFilter();
53  void parse_my_tag( utility::tag::TagPtr const tag,
57  core::pose::Pose const & );
58  void parse_def( utility::lua::LuaObject const & def,
59  utility::lua::LuaObject const & score_fxns,
60  utility::lua::LuaObject const & tasks );
63  bool packable() const;
64  bool designable() const;
65  void lower_threshold( core::Size const l );
66  void upper_threshold( core::Size const u );
67  void packable( bool const p );
68  void designable( bool const d );
69 private:
71  core::Size lower_threshold_, upper_threshold_; // how many design positions should be allowed for a passing design
72  bool packable_, designable_; // which sort of residues to report (packable or designable or both)
73 };
74 
75 } // filters
76 } //protein_interface_design
77 } // protocols
78 
79 #endif //INCLUDED_protocols_Filters_DesignableResiduesFilter_HH_
80