24 #include <basic/Tracer.hh>
27 static basic::Tracer
TRG(
"protocols.antibody2.GraftOneCDRLoop");
78 idealizer.
fast(
false );
112 Size query_size = ( query_end - query_start )+1;
123 TRG<<
"template_pose: "<<std::endl;
124 TRG<< template_pose<<std::endl;
145 Size const ref_stem ( start_stem );
146 for(
Size j=1; j <= 4; j++ ) {
150 atom_map[ id1 ] = id2;
156 Size const ref_stem ( end_stem);
158 for(
Size j=1; j <= 4; j++ ) {
162 atom_map[ id1 ] = id2;
181 Size template_num ( i - (query_start-5) );
188 Size const natoms( source_rsd.natoms() );
190 bool any_missing(
false );
195 if( source_rsd.name() != target_rsd.name() ) pose_in.
set_secstruct( i,
'X' );
196 for (
Size j=1; j<= natoms; ++j ) {
197 std::string const & atom_name( source_rsd.atom_name(j) );
198 if ( target_rsd.has( atom_name ) ) {
199 pose_in.
set_xyz(
id::AtomID( source_rsd.atom_index( atom_name),i ), target_rsd.xyz( atom_name ) );
204 TRG<<
"watch out !!! missing "<<atom_name <<
" !!!!!" <<std::endl;
239 if (
this == &rhs)
return *
this;
240 Mover::operator=(rhs);