Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CloseFold.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 protocols/seeded_abinitio/CloseFold.cc
11 /// @author Eva-Maria Strauch (evas01@u.washington.edu)
12 
13 #ifndef INCLUDED_protocols_seeded_abinitio_CloseFold_hh
14 #define INCLUDED_protocols_seeded_abinitio_CloseFold_hh
15 
16 
17 #include <core/pose/Pose.fwd.hh>
18 #include <utility/tag/Tag.fwd.hh>
19 #include <protocols/moves/Mover.hh>
21 #include <utility/string_util.hh>
23 #include <protocols/loops/Loops.hh>
24 #include <utility/vector1.hh>
28 #include <core/fragment/Frame.hh>
29 
30 #include <boost/unordered/unordered_map.hpp>
31 
32 namespace protocols {
33  namespace seeded_abinitio {
34 
36  {
37 
38  public:
39  CloseFold();
40 
41  virtual ~CloseFold();
42  void apply( core::pose::Pose & pose );
43  virtual std::string get_name() const;
44  virtual protocols::moves::MoverOP clone() const;
46 
47  void parse_my_tag( utility::tag::TagPtr const tag,
51  core::pose::Pose const & );
52 
53 
54  private: ///functions
55 
57  std::string secstr,
58  core::Size offset,
60 
61  bool is_cut( utility::vector1<Size> & cut_points, Size residue);
62 
63  bool chainbreakweights();
64 
65  void add_chainbreakweights( bool acbw );
66 
67  bool use_cutpoints();
68 
69  void use_cutpoints( bool uc );
70 
72 
73  void set_trials( core::Size trials_quick_ccd );
74 
75  void initialize_fragments();
76 
77 // core::scoring::ScoreFunction cen_scorefxn();
78 // core::scoring::ScoreFunction fa_scorefxn();
79 
80  private: /// data
81 
82  /// fragment set used for ccd
84 
85  ///position-indexable list of Frames, populating library
86  ///void initialize_library();
87 
88  ///index-based access to the data contained in the FragSet
89  boost::unordered_map<core::Size, core::fragment::Frame> library_;
90  //FrameMap library_;
91 
92  void fast_loopclose( core::pose::Pose &pose, protocols::loops::LoopsOP const loops, bool kic );
93 
94  void quick_closure( core::pose::Pose &pose, protocols::loops::LoopsOP const loops );
95 
97 
99 
101 
102  //gather all loops for specified chains or just the ones that have a cutpoint
104 
105  ///residues specifying the seeds
107 
108  //protocols::loops::Loops seeds_;
109  //utility::vector1< core::Size > seed_vector_;
110 
112 
113  ///add cutpoint variants for closure
115 
116  ///option for quick ccd protocol, how many attempts
118 
119  ///options for fast_ccd protocol
120  bool idealize_;
121 
122  ///should kinematic loop mover be used after the fast ccd
123  bool kic_;
124  bool ccd_;
126 
128  };
129  }//end seeded_abinitio
130 }//end protocols
131 
132 #endif