Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PostDockAssemblyScorer.cc
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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file protocols/domain_assembly/PostDockAssemblyScorer.cc
12 /// @brief Computes crmsd of the assembly to the staring point
13 /// @author James Thompson
14 
16 
17 // AUTO-REMOVED #include <protocols/comparative_modeling/util.hh>
18 // AUTO-REMOVED #include <protocols/docking/stateless/SaneDockingProtocol.hh>
19 // AUTO-REMOVED #include <protocols/jd2/JobDistributor.hh>
20 // AUTO-REMOVED #include <protocols/loops/LoopMoverFactory.hh>
21 // AUTO-REMOVED #include <protocols/loops/LoopMover.hh>
22 // AUTO-REMOVED #include <protocols/loops/Loop.hh>
23 // AUTO-REMOVED #include <protocols/loops/Loops.hh>
24 
25 // AUTO-REMOVED #include <protocols/loops/loops_main.hh>
26 // AUTO-REMOVED #include <core/fragment/FragSet.hh>
27 // AUTO-REMOVED #include <core/fragment/FragSet.fwd.hh>
28 // AUTO-REMOVED #include <core/kinematics/FoldTree.hh>
30 // AUTO-REMOVED #include <core/conformation/Conformation.hh>
31 #include <core/pose/Pose.hh>
32 #include <core/pose/PDBInfo.hh>
33 #include <core/pose/util.hh>
34 // AUTO-REMOVED #include <core/io/pdb/pose_io.hh>
35 // AUTO-REMOVED #include <core/scoring/constraints/util.hh>
36 // AUTO-REMOVED #include <core/scoring/ScoreFunctionFactory.hh>
37 
38 
39 // AUTO-REMOVED #include <core/chemical/ChemicalManager.fwd.hh>
40 
41 // AUTO-REMOVED #include <core/scoring/constraints/Func.hh>
42 // AUTO-REMOVED #include <core/scoring/constraints/Constraint.hh>
43 // AUTO-REMOVED #include <core/scoring/constraints/ConstraintSet.hh>
44 // AUTO-REMOVED #include <core/scoring/constraints/LinearPenaltyFunction.hh>
45 // AUTO-REMOVED #include <core/scoring/constraints/AtomPairConstraint.hh>
46 
47 
48 #include <protocols/moves/Mover.hh>
49 // AUTO-REMOVED #include <protocols/simple_moves/ScoreMover.hh>
50 // AUTO-REMOVED #include <protocols/moves/CompositionMover.hh>
51 // AUTO-REMOVED #include <protocols/simple_moves/ConstraintSetMover.hh>
52 
53 //#include <devel/init.hh>
54 
55 // C++ headers
56 #include <iostream>
57 #include <string>
58 
59 // AUTO-REMOVED #include <basic/Tracer.hh>
60 #include <core/types.hh>
61 #include <utility/vector1.hh>
62 
63 // option key includes
64 
65 
66 namespace protocols {
67 namespace domain_assembly {
68 
70  using core::Real;
71  using std::string;
72 
73  char const first_chain( pose.pdb_info()->chain(1) );
74  for ( Size ii = 1; ii <= pose.total_residue(); ++ii ) {
75  char const chain_ii( pose.pdb_info()->chain(ii) );
76  if ( first_chain != chain_ii ) {
77  Real const rebuild_dist(
78  pose.residue(ii-1).xyz("CA").distance(
79  pose.residue(ii).xyz("CA")
80  )
81  );
83  setPoseExtraScores( pose, score_prefix_, rebuild_dist );
84  break;
85  }
86  }
87 } // apply
88 
89 
90 }//namespace domain_assembly
91 }//namespace protocols
92 
93