29 #include <basic/Tracer.hh>
36 #include <utility/vector1.hh>
40 using std::stringstream;
56 namespace rotamer_recovery {
58 static Tracer
TR(
"protocol.moves.RRComparerAutomorphicRMSD");
61 include_backbone_atoms_( false ),
62 recovery_threshold_( .05 )
67 include_backbone_atoms_( src.include_backbone_atoms_ ),
68 recovery_threshold_( src.recovery_threshold_ )
84 TR <<
"Cannot measure rotamer recovery of residue " << res1.
seqpos() <<
" because" << endl;
85 TR <<
"\nresidue 1 has type '" << res1.
type().
name() <<
"'" << endl;
86 TR <<
"\nresidue 2 has type '" << res2.
type().
name() <<
"'" << endl;
87 TR <<
"\nMake sure the protocol to generate the conformations did not 'design' the sequence identity too." << endl;
88 score = -1; recovered =
false;
return false;
93 TR <<
"WARNING: trying to compare rotamer bins for non-canonical amino acid '" << res1.
name() <<
"'" << endl;
94 score = -1; recovered =
false;
return false;
103 res1_set.get_residue_type_with_variant_added( res1.
type(),
"VIRTUAL_BB" ) );
110 res2_set.get_residue_type_with_variant_added( res2.
type(),
"VIRTUAL_BB" ) );
123 return "RRComparerAutomorphicRMSD";
136 bool const include_backbone_atoms
148 Real const recovery_threshold