Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ligand_functions.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/ligand_docking/ligand_functions.hh
11 ///
12 /// @brief
13 /// @author Ian W. Davis
14 
15 
16 #ifndef INCLUDED_protocols_ligand_docking_ligand_functions_hh
17 #define INCLUDED_protocols_ligand_docking_ligand_functions_hh
18 
19 //#include <protocols/ligand_docking/ligand_functions.fwd.hh>
20 //#include <utility/pointer/ReferenceCount.hh>
21 
22 // AUTO-REMOVED #include <core/chemical/ResidueType.hh>
24 // AUTO-REMOVED #include <core/pose/Pose.hh>
26 // AUTO-REMOVED #include <utility/vector1.hh>
27 
29 #include <core/pose/Pose.fwd.hh>
30 #include <utility/vector1.hh>
31 
32 
33 namespace protocols {
34 namespace ligand_docking {
35 
36 
37 /// @brief Produce an ambiguous dihedral restraint for the specified chi angle,
38 /// assuming that the provided conformations represent (all) energetic minima.
41  core::Size rsd_no,
42  core::Size chino,
44  core::Real stddev_degrees
45 );
46 
47 /// @brief Produce an ambiguous dihedral restraint for the specified chi angle,
48 /// assuming that ResidueType.chi_rotamers() lists (all) energetic minima.
51  core::Size rsd_no,
52  core::Size chino,
53  core::chemical::ResidueType const & rsdtype
54 );
55 
56 /// @brief Produce dihedral restraints for all chi angles in the specified
57 /// residue, from chi_rotamers() if available, and from the rotamer library otherwise.
58 void
60  core::pose::Pose & pose,
61  core::Size rsd_no,
62  core::Real stddev_degrees,
64  bool const constrain_all_torsions_equally
65 );
66 
67 /// @brief Call get_ligand_torsion_constraints() for all non-polymer residues
68 /// and add the resulting constraints to the Pose.
69 void
71  core::pose::Pose & pose,
72  core::Real stddev_degrees,
73  bool constrain_all_torsions_equally = true
74 );
75 
76 /// @brief simple function to scan the pose for all ligand residues
79  core::pose::Pose const & pose
80 );
81 
82 
83 } // namespace ligand_docking
84 } // namespace protocols
85 
86 #endif // INCLUDED_protocols_ligand_docking_ligand_functions_HH