Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StepWiseClusterer.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 // (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 StepWiseClusterer.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_swa_StepWiseClusterer_HH
18 #define INCLUDED_protocols_swa_StepWiseClusterer_HH
19 
20 #include <core/pose/Pose.fwd.hh>
25 #include <utility/pointer/ReferenceCount.hh>
26 #include <utility/vector1.hh>
27 #include <core/types.hh>
29 #include <protocols/swa/StepWiseUtil.hh> // For PoseList. This is a bit silly.
31 
32 #include <map>
33 #include <string>
34 
35 namespace protocols {
36 namespace swa {
37 
38  /////////////////////////////////////////////////////////////////////////////////////////////////
39  /////////////////////////////////////////////////////////////////////////////////////////////////
41  public:
42 
43  //constructor!
44  StepWiseClusterer( utility::vector1< std::string > const & silent_files_in );
45 
46  StepWiseClusterer( std::string const & silent_file_in );
47 
49 
50  //destructor -- necessary?
51  virtual ~StepWiseClusterer();
52 
53  /// @brief Filter a list of poses by score.
54 
55  void set_max_decoys( core::Size const & setting ){ max_decoys_ = setting; }
56 
57  void set_cluster_radius( core::Real const & setting ){ cluster_radius_ = setting; }
58 
60 
61  void set_rename_tags( core::Real const & setting ){ rename_tags_ = setting; }
62 
63  void set_score_diff_cut( core::Real const & setting ){ score_diff_cut_ = setting; }
64 
65  void set_auto_tune( bool const auto_tune ){ auto_tune_ = auto_tune; }
66 
67  void set_force_align( bool const force_align ){ force_align_ = force_align; }
68 
69  void set_calc_rms_res( utility::vector1< core::Size > const & calc_rms_res );
70 
72 
73  void set_rsd_type_set( std::string const & setting ){ rsd_type_set_ = setting; }
74 
75  void cluster();
76 
78 
79  void
80  output_silent_file( std::string const & silent_file );
81 
82  PoseList
84 
87 
88  private:
89 
90  void
92 
93  void
95 
96  void
98 
99  void
101 
102  Size
103  check_for_closeness( core::pose::PoseOP const & pose_op );
104 
105  void
107 
108  void
110 
111  void
113 
123 
126  // core::scoring::ScoreFunctionOP scorefxn_;
127 
132 
134 
136 
140 
141  std::map< core::id::AtomID, core::id::AtomID > corresponding_atom_id_map_;
142 
144 
145  };
146 
147 } //swa
148 } // protocols
149 
150 #endif