24 #include <utility/vector1.hh>
28 namespace frag_picker {
37 for (
Size i = 1; i <= f->get_length(); i++) {
41 if (
query_[i + f->get_first_index_in_query() - 2] ==
'c') {
46 for (
Size k = 1; k <= 20; k++){
49 totalScore += 1.0 - tmplt_prof_row[k];
51 totalScore += tmplt_prof_row[k];
66 totalScore /= (
Real) f->get_length();
67 empty_map->set_score_component(totalScore,
id_);
78 out << f->get_chunk()->get_pdb_id() <<
" " << I(5,
79 f->get_first_index_in_vall()) <<
" ";
80 for (
Size i = 1; i <= f->get_length(); i++)
81 out << f->get_residue(i)->aa();
82 out << std::endl <<
" ";
83 for (
Size i = 1; i <= f->get_length(); i++) {
85 if (
query_[i + f->get_first_index_in_query() - 2] ==
'c') {
87 if (r->aa() !=
query_[i + f->get_first_index_in_query() - 2]) {
98 out <<
"\nquery " << I(5, f->get_first_index_in_query()) <<
" ";
99 for (
Size i = 1; i <= f->get_length(); i++)
100 out <<
query_[i + f->get_first_index_in_query() - 2];
102 out <<
"\nTotal score " << F(5, 3, totalScore) <<
" ACCEPTED"
105 out <<
"\nTotal score " << F(5, 3, totalScore) <<
" REJECTED"
108 totalScore /= (
Real) f->get_length();
109 empty_map->set_score_component(totalScore,
id_);