54 #include <basic/Tracer.hh>
64 #include <utility/vector0.hh>
65 #include <utility/vector1.hh>
70 static basic::Tracer
tr(
"protocols.general_abinitio",basic::t_info);
86 utility_exit_with_message(
"Mismatch of pose lenght in copy_side_chains(..): " );
88 tr.Debug <<
"copy side chains for residues with * / missing density residues with - ";
95 if ( (ca_pos - fa_input_pose.
residue(i).
atom(j).xyz()).length() > 20 ) {
96 tr.Debug <<
"-" << i <<
" ";
97 needToRepack[ i ] =
true;
102 if ( !needToRepack[ i ] ) {
103 tr.Debug <<
"*" << i <<
" ";
111 tr.Debug <<
" that have not moved from template" << std::endl;
119 bool apply_to_centroid
120 ) : apply_to_centroid_( apply_to_centroid ),
122 init_fa_( pose.is_fullatom() ),
123 start_centroid_( start_centroid ),
124 scorefxn_fa_( NULL ),
126 map_cst_from_centroid_to_fa_( true )
140 utility_exit_with_message(
"don't have full-atom pose to start");
149 tr.Debug <<
"resolution_switch" << std::endl;
154 tr.Debug <<
" change to full-atom pose " << std::endl;
163 tr.Trace <<
"residue " << i <<
" has moved " << std::endl;
165 needToRepack[ j ] =
true;
171 if ( bCopySideChains &&
init_fa_ ) {
180 taskstd->restrict_to_repacking();
181 taskstd->or_include_current(
true);
183 taskstd->restrict_to_residues( needToRepack );
212 return "ResolutionSwitcher";