Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SetupForDensityScoringMover.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 //
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 protocols for folding into density
12 /// @detailed
13 /// @author Frank DiMaio
14 
18 
19 // AUTO-REMOVED #include <core/scoring/dssp/Dssp.hh>
20 
22 
23 #include <core/types.hh>
24 // AUTO-REMOVED #include <core/pose/Pose.hh>
25 #include <utility/tag/Tag.hh>
26 // AUTO-REMOVED #include <core/conformation/Conformation.hh>
27 // AUTO-REMOVED #include <core/id/AtomID.hh>
28 #include <core/chemical/AA.hh>
29 #include <numeric/xyzVector.hh>
30 // AUTO-REMOVED #include <protocols/moves/DataMap.hh>
31 
32 // AUTO-REMOVED #include <core/kinematics/MoveMap.hh>
34 // AUTO-REMOVED #include <core/kinematics/FoldTree.hh>
35 #include <core/kinematics/Jump.hh>
37 
38 // Symmetry
39 // AUTO-REMOVED #include <core/scoring/symmetry/SymmetricScoreFunction.hh>
40 // AUTO-REMOVED #include <core/pose/symmetry/util.hh>
41 // AUTO-REMOVED #include <core/conformation/symmetry/util.hh>
42 
43 // AUTO-REMOVED #include <protocols/simple_moves/symmetry/SymMinMover.hh>
44 // AUTO-REMOVED #include <protocols/rigid/RB_geometry.hh>
45 
46 #include <core/pose/util.hh>
47 
48 // AUTO-REMOVED #include <core/scoring/ScoreFunction.hh>
49 // AUTO-REMOVED #include <core/scoring/ScoreFunctionFactory.hh>
50 
51 #include <basic/options/option.hh>
52 
53 // option key includes
54 #include <basic/options/keys/edensity.OptionKeys.gen.hh>
55 
56 //
57 #include <basic/Tracer.hh>
58 
59 #include <protocols/loops/Loop.hh>
60 #include <protocols/loops/Loops.hh>
61 #include <utility/vector0.hh>
62 #include <utility/vector1.hh>
63 
64 using basic::T;
65 using basic::Error;
66 using basic::Warning;
67 
68 
69 namespace protocols {
70 namespace electron_density {
71 
72 static basic::Tracer TR("protocols.electron_density.util");
73 
74 using namespace protocols;
75 using namespace core;
76 
79 {
81 }
82 
85  return new SetupForDensityScoringMover;
86 }
87 
90 {
91  return "SetupForDensityScoring";
92 }
93 
94 ///////////////////////////////////////
95 ///////////////////////////////////////
96 
98  using namespace basic::options;
99  dock_into_dens_strategy_ = option[ OptionKeys::edensity::realign ]();
100 }
101 
107 }
108 
111  return( protocols::moves::MoverOP( new SetupForDensityScoringMover( *this ) ) );
112 }
113 
117 }
118 
120  mask_reses_.clear();
121  for( protocols::loops::Loops::LoopList::const_iterator it=loops.loops().begin(), it_end=loops.loops().end(); it != it_end; ++it )
122  for (core::Size i=it->start(), i_end=it->stop(); i<i_end; ++i )
123  mask_reses_.push_back(i);
124 }
125 
127  utility::tag::TagPtr const tag,
128  moves::DataMap &,
129  filters::Filters_map const &,
130  moves::Movers_map const &,
131  core::pose::Pose const & ) {
132 
133  TR << "Parsing SetupForDensityScoringMover----" << std::endl;
134  dock_into_dens_strategy_ = tag->getOption<std::string>( "realign", "no" );
135 
136  // TO DO: make mask parsable
137 }
138 
139 ///////////////////////////////////////
140 ///////////////////////////////////////
141 
145 }
146 
147 
148 
149 }
150 }
151