Rosetta
|
#include <core/types.hh>
#include <core/chemical/AA.hh>
#include <core/scoring/Energies.hh>
#include <core/scoring/ScoreFunction.hh>
#include <core/scoring/ScoreFunctionFactory.hh>
#include <core/pack/pack_rotamers.hh>
#include <core/pack/task/PackerTask.hh>
#include <core/pack/task/TaskFactory.hh>
#include <core/pose/Pose.hh>
#include <basic/options/option.hh>
#include <basic/options/util.hh>
#include <devel/init.hh>
#include <core/import_pose/import_pose.hh>
#include <numeric/xyzVector.hh>
#include <numeric/random/random.hh>
#include <core/pack/task/ResfileReader.hh>
#include <utility/vector1.hh>
#include <utility/file/FileName.hh>
#include <utility/excn/Exceptions.hh>
#include <basic/Tracer.hh>
#include <ObjexxFCL/format.hh>
#include <ObjexxFCL/FArray2D.hh>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <string>
#include <sstream>
#include <cmath>
#include <basic/options/keys/out.OptionKeys.gen.hh>
#include <basic/options/keys/ddg.OptionKeys.gen.hh>
#include <core/chemical/ResidueType.hh>
#include <utility/vector0.hh>
Go to the source code of this file.
Typedefs | |
typedef std::vector< Real > | ddGs |
Functions | |
static THREAD_LOCAL basic::Tracer | TR ("apps.pilot.yiliu.ddg") |
std::ostream & | writeYamlValue (std::ostream &S, std::string name, core::Real value) |
std::ostream & | writeYamlValue (std::ostream &S, std::string name, bool value) |
Real | sum (ddGs &scores_to_sum) |
Real | average (utility::vector1< Real > &scores_to_average) |
Size | store_energies (ObjexxFCL::FArray2D< Real > &two_d_e_arrays, scoring::ScoreFunction &s, pose::Pose &p, Size next_index, Size size_to_expect) |
Size | average_score_components (ObjexxFCL::FArray2D< Real > &scores_to_average, utility::vector1< Real > &averaged_scores) |
Real | correlation_coefficient (utility::vector1< Real > sim, utility::vector1< Real > exp) |
void | correlation (std::string ddg_out) |
int | main (int argc, char *argv[]) |
Definition in file ddg_benchmark.cc.
Definition at line 78 of file ddg_benchmark.cc.
Real average | ( | utility::vector1< Real > & | scores_to_average | ) |
Size average_score_components | ( | ObjexxFCL::FArray2D< Real > & | scores_to_average, |
utility::vector1< Real > & | averaged_scores | ||
) |
Definition at line 158 of file ddg_benchmark.cc.
References ObjexxFCL::FArray2D< typename >::l1(), ObjexxFCL::FArray2D< typename >::l2(), ObjexxFCL::FArray2D< typename >::u1(), and ObjexxFCL::FArray2D< typename >::u2().
Referenced by main().
void correlation | ( | std::string | ddg_out | ) |
Definition at line 203 of file ddg_benchmark.cc.
References correlation_coefficient(), utility::io::oc::cout, basic::Tracer::Error, ObjexxFCL::getline(), app.delta_score_per_mutation::res, TR(), writeYamlValue(), and revert_app::wt.
Referenced by main().
Real correlation_coefficient | ( | utility::vector1< Real > | sim, |
utility::vector1< Real > | exp | ||
) |
Definition at line 175 of file ddg_benchmark.cc.
References utility::options::OptionKeys::options::exit, TR(), x(), and y().
Referenced by correlation().
Definition at line 269 of file ddg_benchmark.cc.
References average(), average_score_components(), begin, correlation(), utility::io::oc::cout, utility::options::OptionKeys::options::exit, utility::exit(), ObjexxFCL::format::F(), test.G202_Module_PythonPDB::filename, devel::init(), line, utility::excn::EXCN_Base::msg(), demo.D090_Ala_scan::mutant_aa, option, options, contacts::pdb, app.surface_docking.surface_docking::pose, clean_pdb_keep_ligand::resnum, basic::options::start_file(), store_energies(), sum(), and app.delta_score_per_mutation::task.
Size store_energies | ( | ObjexxFCL::FArray2D< Real > & | two_d_e_arrays, |
scoring::ScoreFunction & | s, | ||
pose::Pose & | p, | ||
Size | next_index, | ||
Size | size_to_expect | ||
) |
Definition at line 125 of file ddg_benchmark.cc.
References begin, ObjexxFCL::FArray2D< typename >::dimension(), end, and app.pyrosetta_toolkit.modules.SQLPDB::s.
Referenced by main().
Real sum | ( | ddGs & | scores_to_sum | ) |
Definition at line 105 of file ddg_benchmark.cc.
Referenced by average(), BuildBindings::BuildRosettaOnWindows(), toolbox.cleaning::cleanCRYS(), toolbox::cleanCRYS(), compare_times::compare_times(), Kernel::dot(), demo.D060_Folding::guess_disulfides(), Kernel::k_function(), toolbox.structural_alignment::kabsch_alignment(), main(), ObjexxFCL::FArray2< T >::operator*=(), ObjexxFCL::FArray2< T >::right_multiply_by_transpose(), demo.D090_Ala_scan::scanning_analysis(), Solver::Solve(), solve_nu_svr(), statistics(), and svm_predict_values().
|
static |
Referenced by correlation(), and correlation_coefficient().
std::ostream& writeYamlValue | ( | std::ostream & | S, |
std::string | name, | ||
core::Real | value | ||
) |
Definition at line 83 of file ddg_benchmark.cc.
Referenced by correlation().
std::ostream& writeYamlValue | ( | std::ostream & | S, |
std::string | name, | ||
bool | value | ||
) |
Definition at line 91 of file ddg_benchmark.cc.