Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
util.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
11 /// @brief Align a random jump to template
12 /// @detailed
13 /// @author Yifan Song
14 
15 #ifndef INCLUDED_protocols_hybridization_util_hh
16 #define INCLUDED_protocols_hybridization_util_hh
17 
18 #include <core/pose/Pose.hh>
22 
23 #include <core/id/AtomID.hh>
24 #include <core/id/AtomID_Map.hh>
25 
27 #include <core/kinematics/Jump.hh>
28 #include <core/kinematics/Edge.hh>
29 
30 #include <core/types.hh>
31 
32 #include <list>
33 
34 #include <protocols/loops/Loops.hh>
35 #include <protocols/loops/Loop.hh>
37 
38 #include <set>
39 
40 namespace protocols {
41 //namespace comparative_modeling {
42 namespace hybridization {
43 
46 
47 // constraint loading and generation
49  core::pose::Pose &pose,
51  utility::vector1 < core::Real > template_weights,
52  std::string cen_cst_file,
53  std::set< core::Size > ignore_res_for_AUTO = std::set<core::Size>());
54 
56  core::pose::Pose &pose,
58  utility::vector1 < core::Real > template_weights,
59  std::string cen_cst_file,
60  std::string fa_cst_file );
61 
63  core::pose::Pose &pose,
65  utility::vector1 < core::Real > template_weights,
66  std::set< core::Size > ignore_res = std::set<core::Size>());
67 
69  core::pose::Pose &pose,
71  utility::vector1 < core::Real > template_weights );
72 
73 void add_strand_pairs_cst(core::pose::Pose & pose, utility::vector1< std::pair< core::Size, core::Size > > const strand_pairs);
74 
75 void add_non_protein_cst(core::pose::Pose & pose, core::Real const cst_weight);
76 
77 bool discontinued_upper(core::pose::Pose const & pose, core::Size const seqpos);
78 
79 bool discontinued_lower(core::pose::Pose const & pose, core::Size const seqpos);
80 
81 std::list < core::Size > downstream_residues_from_jump(core::pose::Pose const & pose, core::Size const jump_number);
82 
83 // atom_map: from mod_pose to ref_pose
84 void
86  core::pose::Pose const & mod_pose,
87  core::pose::Pose const & ref_pose,
90 
92  core::pose::Pose const & pose,
94  );
95 
96 void
98  core::pose::Pose & pose,
99  core::pose::Pose const & ref_pose,
101  bool iterate_convergence,
102  utility::vector1<core::Real> distance_thresholds,
103  core::Real min_coverage );
104 
105 void
107  core::pose::Pose & pose,
108  core::pose::Pose const & ref_pose,
110  std::list <core::Size> const & residue_list,
111  bool iterate_convergence = false,
113  core::Real min_coverage = 0.2);
114 
117  core::pose::Pose & pose,
118  core::pose::Pose const & ref_pose,
120  core::Real distance_squared_threshold
121  );
122 
125  core::pose::Pose & pose,
126  core::pose::Pose const & ref_pose,
128  core::Real distance_squared_threshold = 4.0
129  );
130 
131 void
133  core::pose::Pose const & mod_pose,
134  core::pose::Pose const & ref_pose,
137 
138 void
140  core::pose::Pose & mod_pose,
141  std::list <core::Size> const & residue_list,
143  );
144 
146 create_fragment_set( core::pose::Pose const & pose, core::Size len, core::Size nfrag );
147 
149 renumber_with_pdb_info( protocols::loops::Loops & template_chunk, core::pose::PoseCOP template_pose );
150 
152 
153 } // hybridize
154 //} // comparative_modeling
155 } // protocols
156 
157 #endif
158