53 #include <basic/Tracer.hh>
58 #include <utility/vector1.hh>
67 namespace pose_manipulation{
69 static basic::Tracer
TR(
"protocols.toolbox.pose_manipulation");
70 static basic::Tracer
TR_DI(
"protocols.toolbox.pose_manipulation.insert_pose_into_pose");
82 bool keep_disulfide_cys
96 bool keep_disulfide_cys
106 pos_it != positions.end(); ++pos_it )
121 bool variants_match = cur_restype->variants_match( replace_res.
type() );
124 if( !variants_match ){
126 current_variants = cur_restype->variant_types();
129 for(
core::Size var = 1; var <= current_variants.size(); var++){
130 var_replace_type = & ( restype_set->get_residue_type_with_variant_added( * var_replace_type, current_variants[ var ] ));
152 bool keep_disulfide_cys
155 using namespace core;
162 pos_it != positions.end(); ++pos_it )
177 bool variants_match = cur_restype->variants_match( replace_res.type() );
179 if( !variants_match ){
181 current_variants = cur_restype->variant_types();
184 for(
core::Size var = 1; var <= current_variants.size(); var++){
185 var_replace_type = & ( restype_set->get_residue_type_with_variant_added( * var_replace_type, current_variants[ var ] ));
188 runtime_assert( var_replace_type->name3() == aa );
207 bool residues_deleted(
false);
213 residues_deleted =
true;
252 if ( find( no_cutpoint_residues.begin(), no_cutpoint_residues.end(), this_cutpoint ) != no_cutpoint_residues.end() ) {
294 using namespace core::id;
305 atom_map.set( id1, id2);