Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlterSpecDisruptionDriver.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 noet:
3 //
4 // This file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 
9 /// @file protocols/pmut_scan/AlterSpecDisruptionDriver.hh
10 /// @brief A protocol that tries to find interface-disrupting mutations as phase 1 of an altered-specificity protocol
11 /// @author Steven Lewis smlewi@gmail.com
12 
13 #ifndef INCLUDED_protocols_pmut_scan_AlterSpecDisruptionDriver_HH
14 #define INCLUDED_protocols_pmut_scan_AlterSpecDisruptionDriver_HH
15 
16 // Project Headers
19 
20 #include <core/types.hh>
21 #include <core/pose/Pose.fwd.hh>
22 
24 
25 // Utility headers
26 
27 // ObjexxFCL header
28 
29 // C++
30 #include <set>
31 
32 namespace protocols {
33 namespace pmut_scan {
34 
35 ///@details this subclass of Ron's PointMutScanDriver exists to tweak one aspect of his code: instead of looking for total-energy-stabilizing mutations, it looks for binding-energy-DEstabilizing point & pair mutations.
37 
38 public:
39  AlterSpecDisruptionDriver( utility::vector1< std::string > & pdb_file_names, bool double_mutant_scan, std::string list_file, bool output_mutant_structures );
41 
42  ///@brief return a score that is a ddG of binding, rather than a ddG of the interface. It returns a reversed value because this class wants to find DEstabilizing mutations.
43  virtual core::Energy score(core::pose::Pose & pose);
44 
45  ///@brief offers a chance for child classes to inject mutant selection logic
46  virtual bool reject_mutant( Mutant const & mutant, core::pose::Pose const & pose );
47 
48 private:
49 
50  ///@brief reject Mutant based on chain IDs of constituent mutations
51  bool reject_on_chains( Mutant const & mutant );
52 
53  ///@brief reject Mutant based on interface-ness of constituent mutations
54  bool reject_on_interface( Mutant const & mutant, core::pose::Pose const & pose );
55 
57 
58  std::set<core::Size> interface_set_;
59 
60 }; // class AlterSpecDisruptionDriver
61 
62 } // namespace pmut_scan
63 } // namespace protocols
64 
65 #endif //INCLUDED_protocols_pmut_scan_AlterSpecDisruptionDriver_HH