27 #include <basic/options/option.hh>
30 #include <basic/Tracer.hh>
31 #include <utility/tag/Tag.hh>
34 #include <basic/options/keys/run.OptionKeys.gen.hh>
35 #include <basic/options/keys/score.OptionKeys.gen.hh>
37 #include <utility/vector0.hh>
38 #include <utility/vector1.hh>
46 using namespace kinematics;
47 using namespace optimization;
48 using namespace basic::options;
49 using namespace scoring;
50 using namespace moves;
52 using basic::t_warning;
56 static basic::Tracer
TR(
"protocols.dna.DnaInterfaceMinMover",t_info);
72 return "DnaInterfaceMinMover";
76 : protocols::simple_moves::MinMover(
"DnaInterfaceMinMover"),
81 min_type( option[ OptionKeys::run::min_type ]() );
82 tolerance( option[ OptionKeys::run::min_tolerance ]() );
87 protocols::simple_moves::MinMover( src )
105 : protocols::simple_moves::MinMover(
"DnaInterfaceMinMover"),
106 interface_( interface ),
110 runtime_assert( interface );
112 min_type( option[ OptionKeys::run::min_type ]() );
113 tolerance( option[ OptionKeys::run::min_tolerance ]() );
119 runtime_assert( interface );
131 for ( DnaNeighbors::const_iterator itr(
interface_->protein_neighbors().begin() ),
133 if ( itr->second.close() ) {
135 if (
chi_ ) new_movemap->set_chi( itr->first,
true );
136 if (
bb_ ) new_movemap->set_bb( itr->first,
true );
147 interface_->determine_protein_interface( pose );
152 std::string const weights( option[ OptionKeys::score::weights ]() );
156 AtomTreeMinimizer minimizer;
176 if ( tag->getName() !=
"DnaInterfaceMinMover" ) {
177 TR(t_warning) <<
" received incompatible Tag " << tag << std::endl;
181 if ( tag->hasOption(
"scorefxn") ) {
183 if ( datamap.
has(
"scorefxns", key ) ) {
187 if ( tag->hasOption(
"dna_interface_finder") ) {
189 if ( datamap.
has(
"dna_interface_finder", key ) ) {
193 if ( tag->hasOption(
"min_type") ) {
196 if ( tag->hasOption(
"tolerance") ) {