Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DDomainParse.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 A reimplementation of DDomain domain parsing algorithm, Protein Sci.16,947--955 (2007)
12 /// @author Frank DiMaio
13 
14 #ifndef INCLUDED_protocols_hybridization_DDomainParse_hh
15 #define INCLUDED_protocols_hybridization_DDomainParse_hh
16 
17 #include <protocols/loops/Loops.hh>
18 
19 #include <core/pose/Pose.hh>
22 
24 #include <core/kinematics/Jump.hh>
25 #include <core/kinematics/Edge.hh>
26 
27 #include <core/types.hh>
28 
29 #include <numeric/xyzVector.hh>
30 
31 #include <list>
32 
33 namespace protocols {
34 //namespace comparative_modeling {
35 namespace hybridization {
36 
37 
38 class DDomainParse {
39 public:
41  pcut_ = 0.81;
42  hcut_ = 0.18;
43  length_ = 38;
44  }
45 
46  DDomainParse( core::Real pcut_in, core::Real hcut_in, core::Size length_in) {
47  pcut_ = pcut_in;
48  hcut_ = hcut_in;
49  length_ = length_in;
50  }
51 
52  // domain splitting
54 
55 private:
56  // functions
57  void pulldomain( int isize0, int ist, int ilast, utility::vector1< core::Real > &resect, int &idip);
58  void findpos( int mdom, int ndom, int id, utility::vector1<int> &ipdom, int &ist, int &ilast);
59  void findpos2( int ist, int ilast, int imid, int i, int &ista, int &ilasta);
60  void small_big( int const& mdom, int const& ipdd, utility::vector1<int> &ipdom);
62  void ddomain_pot( core::Real pw, int ist, int ilast,
64 
65  // parameters
68 
71 };
72 
73 
74 } // hybridize
75 //} // comparative_modeling
76 } // protocols
77 
78 #endif
79