38 #include <basic/Tracer.hh>
42 #include <utility/vector1.hh>
70 #include <basic/Tracer.hh>
71 #include <utility/string_util.hh>
72 #include <utility/vector1.hh>
73 #include <utility/tag/Tag.hh>
79 static basic::Tracer
TR(
"seeded_abinitio.SeededAbinitio_util" );
82 namespace seeded_abinitio{
84 using namespace core::scoring;
99 TR<<
"adjusting the movemap to current numbering of the decoy" <<std::endl;
102 TR<<
"WARNING there is no length observer attached to the pose! no adjustments can be made" <<std::endl;
113 for(
Size i =1; i <= events.size(); ++i ){
123 new_mm->set_bb(
false );
124 new_mm->set_chi(
false );
128 Size previous_pos ( (*fullsmap)[resi] );
129 TR.Debug<<
"previous position "<<previous_pos <<
", current residue: " << resi << std::endl;
132 if( previous_pos == 0 || !previous_pos)
continue;
135 TR.Debug<<
"mm set to: "<< mm->get_bb( previous_pos) << std::endl;
136 if( !mm->get_bb( previous_pos ) ){
137 TR.Debug<<
"adjusting NOT movable position to: " << resi <<std::endl;
138 new_mm->set_bb( resi,
false );
140 if( !mm->get_chi( previous_pos ) ){
141 TR.Debug<<
"adjusting NOT movable position to: " << resi <<std::endl;
142 new_mm->set_chi( resi,
false );
153 for(
Size iter = 1 ; iter <= seed_vector.size() ; ++ iter ){
154 TR.Debug<<
"sanity check, seed_vector[iter].first " <<seed_vector[iter].first <<std::endl;
160 tmpseed.
add_loop( begin , end , 0, 0,
false );
162 TR.Debug<<
"runtime parsed: "<< tmpseed <<std::endl;
170 combo_pose = target_chain;
172 TR<<
"new poseOP total number should contain the additional target chain number: " << combo_pose->total_residue();
176 pdb_info_target->set_chains(
'A');
177 pdb_info_design->set_chains(
'B');
181 TR<<
"folded proteins has " << design_pose.
total_residue() <<
" total residues \n";
182 TR<<
"the target protein (chain A) has " << target_chain->total_residue() <<
" total residues "<<std::endl;
187 combo_pose->append_residue_by_jump( *new_rsd, combo_pose->total_residue(),
"",
"",
true );
190 combo_pose->append_residue_by_bond( *new_rsd );
194 combo_pose->dump_pdb(
"target_plus_folded.pdb" );
195 TR.Debug<<
" total residues of new pdb: " <<combo_pose->total_residue()<<std::endl;
197 design_pose = *combo_pose;