21 #include <basic/prof.hh>
28 #include <basic/options/option.hh>
29 #include <basic/options/keys/in.OptionKeys.gen.hh>
31 #include <utility/io/izstream.hh>
32 #include <utility/file/FileName.hh>
33 #include <ObjexxFCL/string.functions.hh>
35 #include <utility/vector1.hh>
91 ir = graph.get_node( rsd.
seqpos() )->const_edge_list_begin(),
92 ire = graph.get_node( rsd.
seqpos() )->const_edge_list_end();
94 Size const j( (*ir)->get_other_ind( rsd.
seqpos() ) );
98 Real sqdist = atom_i.
xyz().distance_squared( atom_j.xyz() );
99 if ( sqdist < dist_sq_cutoff ) {
106 Real score = burial_prediction;
107 if ( countN < NN_cutoff ) {
108 emap[
burial ] += -1 * score;
127 using namespace basic::options;
128 using namespace basic::options::OptionKeys;
132 utility::io::izstream input(burial_fn);
133 if ( !input.good() ) {
134 std::string const msg(
"Error opening file: " + burial_fn );
135 utility_exit_with_message( msg );
141 while (getline(input,line) ) {
142 std::istringstream ss(line);
147 while ( ss.good() ) ss >> last_token;
148 std::istringstream dbl_reader( last_token.substr(2,4) );
151 if ( last_token.substr(0,1) ==
"0" ) burial *= -1;