Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SequenceRecoveryFilter.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/simple_filters/ContingentFilter.hh
11 /// @brief A filter that is contingent on some other mover to set its pass/fail value
12 /// @author Sarel Fleishman (sarelf@uw.edu)
13 
14 #ifndef INCLUDED_protocols_protein_interface_design_filters_SequenceRecoveryFilter_hh
15 #define INCLUDED_protocols_protein_interface_design_filters_SequenceRecoveryFilter_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 private:
39 public:
40  /// @brief default ctor
42  ///@brief Constructor with a single target residue
43  virtual bool apply( core::pose::Pose const & pose ) const;
44  virtual void apply( core::io::serialization::PipeMap & pmap);
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::Real compute( core::pose::Pose const & pose, bool const & write ) const;
50  void write_to_pdb(
51  std::map< core::Size, std::string > const & res_names1,
52  std::map< core::Size, std::string > const & res_names2 ) const;
53  virtual ~SequenceRecoveryFilter();
56  core::Real rate_threshold() const;
57  void rate_threshold( core::Real const rate );
59  void mutation_threshold( core::Size const mut );
60  bool mutations() const;
61  void mutations( bool const muts );
62  bool verbose() const;
63  void verbose( bool const verb );
64  bool write2pdb() const;
65  void write2pdb( bool const write );
68  void reference_pose( core::pose::Pose const & pose );
69  void parse_my_tag( utility::tag::TagPtr const tag,
73  core::pose::Pose const & );
74  void parse_def( utility::lua::LuaObject const & def,
75  utility::lua::LuaObject const & score_fxns,
76  utility::lua::LuaObject const & tasks );
77 private:
82  bool mutations_;
83  bool verbose_;
84  bool write2pdb_;
85 };
86 
87 } // filters
88 } //protein_interface_design
89 } // protocols
90 
91 #endif //INCLUDED_protocols_Filters_SequenceRecoveryFilter_HH_
92