24 #include <utility/vector1.hh>
28 namespace frag_picker {
35 for (
Size i = 1; i <= f->get_length(); i++) {
37 if (r->ss() ==
query_[i + f->get_first_index_in_query() - 2])
42 totalScore /= (
Real) f->get_length();
43 empty_map->set_score_component(totalScore,
id_);
54 out << f->get_chunk()->get_pdb_id() <<
" " << I(5,
55 f->get_first_index_in_vall()) <<
" ";
56 for (
Size i = 1; i <= f->get_length(); i++)
57 out << f->get_residue(i)->ss();
58 out << std::endl <<
" ";
59 for (
Size i = 1; i <= f->get_length(); i++) {
61 if (r->ss() ==
query_[i + f->get_first_index_in_query() - 2]) {
69 out <<
"\nquery " << I(5, f->get_first_index_in_query()) <<
" ";
70 for (
Size i = 1; i <= f->get_length(); i++)
71 out <<
query_[i + f->get_first_index_in_query() - 2];
73 out <<
"\nTotal score " << F(5, 3, totalScore) <<
" ACCEPTED"
76 out <<
"\nTotal score " << F(5, 3, totalScore) <<
" REJECTED"
78 totalScore /= (
Real) f->get_length();
79 empty_map->set_score_component(totalScore,
id_);