50 #include <ObjexxFCL/string.functions.hh>
51 #include <ObjexxFCL/format.hh>
56 #include <basic/Tracer.hh>
60 #include <utility/vector0.hh>
61 #include <utility/vector1.hh>
62 #include <utility/options/IntegerVectorOption.hh>
63 #include <basic/options/keys/OptionKeys.hh>
65 #include <basic/options/option.hh>
66 #include <basic/options/keys/docking.OptionKeys.gen.hh>
72 static basic::Tracer
TR(
"protocols.docking.DockMCMCycle");
82 DockMCMCycle::DockMCMCycle() :
Mover()
94 ) :
Mover(), scorefxn_(scorefxn), scorefxn_pack_(scorefxn)
107 ) :
Mover(), scorefxn_(scorefxn), scorefxn_pack_(scorefxn_pack)
120 ) :
Mover(), scorefxn_(scorefxn), scorefxn_pack_(scorefxn_pack)
144 using namespace basic::options;
168 if ( option[ bb_min_res ].user() ){
170 for (
Size n = 1; n <= min_res.size(); n++ )
movemap_->set_bb( min_res[n],
true );
172 if ( option[ sc_min_res ].user() ){
174 for (
Size n = 1; n <= min_res.size(); n++ )
movemap_->set_chi( min_res[n],
true );
200 TR.Debug <<
"in DockMCMCycle.apply" << std::endl;
216 return "DockMCMCycle";
230 if (
mc_->last_accepted_pose().empty() )
236 TR <<
"Setting up defaults for DockMCMCycle: " << std::endl;
258 using namespace moves;
259 using namespace basic::options;
260 using namespace core::pack::task;
261 using namespace core::pack::task::operation;
262 using namespace protocols::toolbox::task_operations;
277 rb_pack_min->add_mover( rottrial );
296 repack_step->
add_mover(rb_mover_min_trail);
300 repack_step->add_mover(pack_interface_and_move_loops_trial);
309 repack_step->add_mover(rtmin_trial);
316 repack_step->add_mover(scmin_trial);
337 using namespace ObjexxFCL::fmt;
341 out <<
"////////////////////////////////////////////////////////////////////////////////" << std::endl;
343 out << line_marker <<
" Dockable Jumps: ";
357 core::Size remaining_spaces = 80 - spaces_so_far;
358 if ( remaining_spaces > 0 ) out << space( 80 - spaces_so_far );
359 out << line_marker << std::endl;
362 out << line_marker <<
" Translation: " << dp.
trans_magnitude_<< space( 57 ) << line_marker << std::endl;
363 out << line_marker <<
" Rotation: " << dp.
rot_magnitude_ << space( 62 ) << line_marker << std::endl;
364 out << line_marker <<
" Scorefunction: " << space( 58 ) << line_marker << std::endl;
367 out << line_marker <<
" Packing scorefunction: " << space( 50 ) << line_marker << std::endl;
372 out <<
"////////////////////////////////////////////////////////////////////////////////" << std::endl;