19 #include <basic/Tracer.hh>
22 #include <utility/io/izstream.hh>
23 #include <utility/vector1.hh>
27 #include <utility/exit.hh>
31 #include <basic/options/keys/frags.OptionKeys.gen.hh>
32 #include <basic/options/option.hh>
35 namespace frag_picker {
37 using namespace basic::options;
38 using namespace basic::options::OptionKeys;
41 static basic::Tracer
trJCouplingIO(
"protocols.frag_picker.TalosReader");
46 utility::io::izstream data(file_name.c_str());
47 trJCouplingIO.Info <<
"read Jcoupling data from " << file_name << std::endl;
49 utility_exit_with_message(
"[ERROR] Unable to open Jcoupling file: "
57 std::istringstream line_stream(line);
58 line_stream >> len >> a >> b >> c >> theta;
65 std::istringstream line_stream(line);
68 line_stream >> res >> val >> dev;
70 if (!(option[frags::filter_JC].user() && (val >4) && (val<6) )) {
71 temp_data[res].push_back(val);
72 temp_data[res].push_back(dev);
86 sequence_length_ = len;
93 std::pair< Real, Real > temp;
97 if (data_[res_num].
size() == 2) {
98 temp.first = data_[res_num][1];
99 temp.second = data_[res_num][2];
109 params.push_back(A_);
110 params.push_back(B_);
111 params.push_back(C_);
112 params.push_back(THETA_);