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 devel/protein_interface_design/util.hh
11 /// @brief definition of classes for iterations of docking/design.
12 /// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_protein_interface_design_util_hh
15 #define INCLUDED_protocols_protein_interface_design_util_hh
16 
17 // Unit headers
18 
19 // Project Headers
20 #include <core/pose/Pose.fwd.hh>
22 #include <core/types.hh>
24 
25 // Utility Headers
26 #include <utility/vector1.fwd.hh>
27 
28 // C++ headers
29 #include <string>
30 
31 #include <utility/vector1.hh>
32 
33 
34 namespace protocols {
35 namespace protein_interface_design {
36 
39 
40 /// @brief removes ALL coordinate constraints from a pose. returns the constraints that were removed
42 
43 // @brief returns ConstraintCOPs matching only the backbone_stub_constraints currently in the pose
45 
46 /// @brief evaluate backbone_stub_constraints for each residue in a chain and return a vector with the top n_return residue numbers by cst score
47 /// note that this function is NOT guaranteed to return n_return residues! It will return the best n<=n_return
49 best_bbcst_residues( core::pose::Pose const & pose, core::Size const chain, core::Size const n_return );
50 
51 void find_lowest_constraint_energy_residue( core::pose::Pose const & pose, core::Size const chain, core::Size & resi, core::Real & lowest_energy );
52 
53 /// @brief utility function for stub_based_atom_tree. tries to find an optimal cutpoint in a pose given two different boundaries.
54 core::Size best_cutpoint( core::pose::Pose & pose, core::Size const prev_u, core::Size const prev_d, core::Size const u, core::Size const d );
55 
56 /// @brief find nearest residue on target_chain to res
58 find_nearest_residue( core::pose::Pose const & pose, core::Size const target_chain, core::Size const res, std::string const atom="CA" );
59 
60 /// @brief what is the optimal connection point for an atom tree, given a residue type (puts the connection point
61 /// at the beginning of a functional group
63 
66 
67 } // protein_interface_design
68 } // protocols
69 
70 
71 #endif /*INCLUDED_protocols_protein_interface_design_util_HH*/
72