30 #include <basic/options/option.hh>
32 #include <basic/Tracer.hh>
35 #include <basic/options/keys/packing.OptionKeys.gen.hh>
37 #include <utility/vector1.hh>
40 static basic::Tracer
TR(
"protocols.flxbb.DesignTask");
46 using namespace basic::options;
47 using namespace basic::options::OptionKeys;
55 filter_structs_( NULL ),
59 if ( option[ packing::resfile ].user() )
resfile_ = option[ packing::resfile ].value().at(1);
74 filter_structs_( filter_structs ),
78 if ( option[ packing::resfile ].user() )
resfile_ = option[ packing::resfile ].value().at(1);
83 utility::pointer::ReferenceCount(),
84 ncycle_( rval.ncycle_ ),
85 scorefxn_( rval.scorefxn_ ),
86 mover_( rval.mover_ ),
87 filter_structs_( rval.filter_structs_ ),
89 resfile_( rval.resfile_ )
210 bool use_original_seq,
216 DesignTask( ncycle, sfxn, mover, filter_structs ),
217 dsgn_core_(dsgn_core),
218 dsgn_boundary_(dsgn_boundary),
219 dsgn_surface_(dsgn_surface),
220 use_original_seq_( use_original_seq )
230 using namespace core::pack;
232 cmop->
apply( pose, *task );
238 TR <<
"Resfile is applied, except for the positions of AUTO " << std::endl;
240 rrop->apply( pose, *task );
247 op->use_original_seq();
248 TR <<
"Original sequences are preserved for the layer you don't design." << std::endl;
250 TR <<
"The region you don't design turned into Ala." << std::endl;
253 op->apply( pose, *task );
257 (*it)->apply( pose, *task );
274 DesignTask( ncycle, sfxn, mover, filter_structs )
283 using namespace core::pack;
288 TR <<
"Resfile " <<
resfile() <<
" is applied." << std::endl;
290 rrop->apply( pose, *task );
293 cmop->apply( pose, *task );
297 (*it)->apply( pose, *task );