Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MotifDnaPacker.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 MotifDnaPacker.hh
11 /// @author sthyme
12 /// @brief
13 /// @details
14 
15 #ifndef INCLUDED_protocols_motifs_MotifDnaPacker_hh
16 #define INCLUDED_protocols_motifs_MotifDnaPacker_hh
17 
18 // Unit Headers
20 
21 // Project Headers
24 #include <core/pose/Pose.fwd.hh>
26 #include <protocols/moves/Mover.hh>
31 
32 #include <list>
33 #include <map>
34 #include <set>
35 
36 #include <utility/vector1.hh>
37 
38 namespace protocols {
39 namespace motifs {
40 
42 
43 public:
45 
48  bool minimize = false,
49  std::string filename_root = "dnapacker"
50  );
51 
52  virtual ~MotifDnaPacker(); // important for properly "releasing" owning pointer data
53 
55  virtual protocols::moves::MoverOP clone() const;
56  virtual std::string get_name() const;
57 
58  virtual void apply( core::pose::Pose & );
59 
60  //void minimize_dna( core::pose::Pose & );
61 
62 private:
64  void init_options();
65 
66  void
67  run_motifs(
68  core::pose::Pose & pose,
69  utility::vector1< core::Size > & design_positions,
70  std::set< core::Size > & src_pos,
71  std::map< core::Size, core::pack::rotamer_set::Rotamers > & rotamer_map,
72  std::map< core::Size, std::set< std::string > > & types_map,
73  std::list< std::string > & info_lines,
75  );
76 
77  // aromatic_motifs and expand_motifs could likely be combined at some point
78  // if an input type list was added that defaults to all 20 amino acids
79  void
81  core::pose::Pose & pose,
82  utility::vector1< core::Size > & design_positions,
83  std::set< core::Size > & src_pos,
84  std::map< core::Size, core::pack::rotamer_set::Rotamers > & rotamer_map,
85  std::map< core::Size, std::set< std::string > > & types_map,
86  std::list< std::string > & info_lines,
88  );
89 
90  void
92  core::pose::Pose & pose,
93  utility::vector1< core::Size > & design_positions,
94  std::set< core::Size > & src_pos,
95  std::map< core::Size, core::pack::rotamer_set::Rotamers > & rotamer_map,
96  std::map< core::Size, std::set< std::string > > & types_map,
97  std::list< std::string > & info_lines,
99  );
100 
101 private:
108 
109  // user defined options
119 
120 };
121 
122 } // namespace motifs
123 } // namespace protocols
124 
125 #endif