28 #include <basic/Tracer.hh>
29 #include <numeric/xyzVector.hh>
30 #include <numeric/model_quality/maxsub.hh>
31 #include <numeric/model_quality/rms.hh>
32 #include <ObjexxFCL/FArray2D.hh>
33 #include <utility/vector1.hh>
39 static basic::Tracer
tr(
"protocols.comparative_modeling.Align_RmsdEvaluator");
42 namespace comparative_modeling {
52 AlignEvaluator( native_pose, tag, true, aln ),
54 report_gdt_components_(false)
64 using ObjexxFCL::FArray2D;
68 FArray2D< Real > p1a, p2a;
69 tr.Debug <<
"gathering xyz coordinates ... ";
75 tr.Debug <<
"gathered " << n_atoms <<
"coordinates" << std::endl;
76 tr.flush_all_channels();
78 Real rmsd( numeric::model_quality::rms_wrapper( n_atoms, p1a, p2a ) );
91 tr.Debug <<
"computing gdtmm for " <<
tag() << std::endl;
92 Real m_1_1, m_2_2, m_3_3, m_4_3, m_7_4;
93 Real gdtmm =
xyz_gdtmm( p1a, p2a, m_1_1, m_2_2, m_3_3, m_4_3, m_7_4 );
105 std::map<Size, Size> residues;
106 for (
Size idx_mod = 1; idx_mod <= mapping.
size1(); ++idx_mod) {
107 Size idx_ref = mapping[idx_mod];
109 residues[idx_ref] = idx_mod;
113 tr.Debug <<
"computing high-accuracy statistics for " <<
tag() << std::endl;
117 tr.Debug <<
"computing maxsub for " <<
tag() << std::endl;