Rosetta
|
Application to extract motifs from a set of pdb files. More...
#include <core/types.hh>
#include <core/conformation/Conformation.hh>
#include <core/pose/Pose.hh>
#include <core/pose/PDBInfo.hh>
#include <core/scoring/ScoreFunction.hh>
#include <core/import_pose/import_pose.hh>
#include <core/io/pdb/pose_io.hh>
#include <basic/options/util.hh>
#include <basic/options/option.hh>
#include <basic/options/keys/in.OptionKeys.gen.hh>
#include <basic/options/keys/out.OptionKeys.gen.hh>
#include <basic/options/keys/motifs.OptionKeys.gen.hh>
#include <basic/basic.hh>
#include <basic/Tracer.hh>
#include <protocols/motifs/Motif.hh>
#include <protocols/motifs/SingleMotif.hh>
#include <protocols/motifs/MotifLibrary.hh>
#include <fstream>
#include <protocols/jd2/JobDistributor.hh>
#include <devel/init.hh>
#include <utility/excn/Exceptions.hh>
Go to the source code of this file.
Functions | |
Vector const | atom1_vector (1.500, 0.000, 0.000) |
Vector const | atom2_vector (0.000, 0.000, 0.000) |
Vector const | atom3_vector (0.000, 1.500, 0.000) |
static THREAD_LOCAL basic::Tracer | TR ("extract_motifs") |
void | fetch_atom_names (core::chemical::AA const &aa, std::string &oa1, std::string &oa2, std::string &oa3) |
void | output_single_motif (Pose &src_pose, AA const &target_aa, std::string &pdb_name, int prot_pos, std::vector< Size > &contacts) |
void | motif_distances (protocols::motifs::Motif const &m1, protocols::motifs::Motif const &m2, core::Real &dist_diff, core::Real &angl_diff) |
Real | get_packing_score (Pose &pose, Size pos1, Size pos2, ScoreFunction &sf) |
Real | get_hbond_score (Pose &pose, Size pos1, Size pos2, ScoreFunction &sf) |
Real | get_elec_score (Pose &pose, Size pos1, Size pos2, ScoreFunction &sf) |
void | process_for_motifs (Pose &pose, std::string &pdb_name, chemical::AA const target_aa, protocols::motifs::MotifLibrary &motif_lib) |
int | main (int argc, char *argv[]) |
Application to extract motifs from a set of pdb files.
Definition in file extract_motifs.cc.
Vector const atom1_vector | ( | 1. | 500, |
0. | 000, | ||
0. | 000 | ||
) |
Referenced by output_single_motif().
Vector const atom2_vector | ( | 0. | 000, |
0. | 000, | ||
0. | 000 | ||
) |
Referenced by output_single_motif().
Vector const atom3_vector | ( | 0. | 000, |
1. | 500, | ||
0. | 000 | ||
) |
Referenced by output_single_motif().
void fetch_atom_names | ( | core::chemical::AA const & | aa, |
std::string & | oa1, | ||
std::string & | oa2, | ||
std::string & | oa3 | ||
) |
Definition at line 71 of file extract_motifs.cc.
References TR().
Referenced by output_single_motif(), and process_for_motifs().
Real get_elec_score | ( | Pose & | pose, |
Size | pos1, | ||
Size | pos2, | ||
ScoreFunction & | sf | ||
) |
Definition at line 327 of file extract_motifs.cc.
References app.surface_docking.surface_docking::pose.
Referenced by process_for_motifs().
Real get_hbond_score | ( | Pose & | pose, |
Size | pos1, | ||
Size | pos2, | ||
ScoreFunction & | sf | ||
) |
Definition at line 311 of file extract_motifs.cc.
References app.surface_docking.surface_docking::pose.
Referenced by process_for_motifs().
Real get_packing_score | ( | Pose & | pose, |
Size | pos1, | ||
Size | pos2, | ||
ScoreFunction & | sf | ||
) |
Definition at line 295 of file extract_motifs.cc.
References app.surface_docking.surface_docking::pose.
Referenced by process_for_motifs().
Definition at line 499 of file extract_motifs.cc.
References utility::io::oc::cout, devel::init(), utility::excn::EXCN_Base::msg(), option, contacts::pdb, app.surface_docking.surface_docking::pose, process_for_motifs(), TR(), and ObjexxFCL::uppercase().
void motif_distances | ( | protocols::motifs::Motif const & | m1, |
protocols::motifs::Motif const & | m2, | ||
core::Real & | dist_diff, | ||
core::Real & | angl_diff | ||
) |
Definition at line 268 of file extract_motifs.cc.
Referenced by process_for_motifs().
void output_single_motif | ( | Pose & | src_pose, |
AA const & | target_aa, | ||
std::string & | pdb_name, | ||
int | prot_pos, | ||
std::vector< Size > & | contacts | ||
) |
Definition at line 185 of file extract_motifs.cc.
References atom1_vector(), atom2_vector(), atom3_vector(), fetch_atom_names(), option, contacts::pdb, app.surface_docking.surface_docking::pose, ObjexxFCL::string_of(), and TR().
Referenced by process_for_motifs().
void process_for_motifs | ( | Pose & | pose, |
std::string & | pdb_name, | ||
chemical::AA const | target_aa, | ||
protocols::motifs::MotifLibrary & | motif_lib | ||
) |
Definition at line 348 of file extract_motifs.cc.
References fetch_atom_names(), get_elec_score(), get_hbond_score(), get_packing_score(), motif_distances(), clean_pdb_keep_ligand::nres, option, output_single_motif(), PyMOL_demo::scorefxn, ObjexxFCL::string_of(), and TR().
Referenced by main().
|
static |
Referenced by fetch_atom_names(), main(), output_single_motif(), and process_for_motifs().