33 #include <basic/Tracer.hh>
35 #include <utility/tag/Tag.hh>
84 #include <utility/vector0.hh>
85 #include <utility/vector1.hh>
93 namespace protein_interface_design {
96 static basic::Tracer
TR(
"protocols.moves.LoopRemodelFromCommandLine" );
97 static basic::Tracer
TR_report(
"protocols.moves.LoopRemodelFromCommandLine.REPORT" );
112 return "LoopMoverFromCommandLine";
128 intermedrelax_(
"no" ),
131 string_refine_(
"no" )
148 protocol_ ( protocol ),
151 intermedrelax_(
"no" ),
154 string_refine_(
"no" )
169 using namespace protocols::loops;
174 loops->verify_against(pose);
175 loops->auto_choose_cutpoints(pose);
176 if( loops->size() == 0) {
177 TR <<
"No loops found!" << std::endl;
182 TR << *loops << std::endl;
184 if( loops->size() > 0 ) {
190 TR.Debug <<
"Original FoldTree " << pose.
fold_tree() << std::endl;
192 for(
Loops::iterator it = loops->v_begin(); it != loops->v_end(); ++it ) {
193 it->set_extended(
true );
195 single_loop->add_loop(*it);
203 retrieve_sc.
allsc(
true );
211 lrm.
loops( single_loop );
225 perturb.
apply( pose );
228 retrieve_sc.
apply( pose );
234 refine.
apply( pose );
239 TR <<
"ccd protocol" << std::endl;
249 for (
core::Size i = 1; i <= frag_libs.size(); ++i ) {
254 perturb.
apply( pose );
257 retrieve_sc.
apply( pose );
260 for (
core::Size i = 1; i <= frag_libs.size(); ++i ) {
266 refine.
apply( pose );
280 perturb_ = tag->getOption<
bool>(
"perturb", 1 );
284 refine( tag->getOption<
bool>(
"refine", 1 ) );