| 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/pdb_writer.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/Tracer.hh>#include <protocols/motifs/Motif.hh>#include <protocols/motifs/SingleMotif.hh>#include <protocols/motifs/MotifLibrary.hh>#include <fstream>#include <devel/init.hh>#include <utility/excn/Exceptions.hh>| Functions | |
| 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[]) | 
| Variables | |
| 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 basic::Tracer | TR ("extract_motifs") | 
Application to extract motifs from a set of pdb files.
| void fetch_atom_names | ( | core::chemical::AA const & | aa, | 
| std::string & | oa1, | ||
| std::string & | oa2, | ||
| std::string & | oa3 | ||
| ) | 
References aa, enumerate_junctions::default, and TR.
Referenced by output_single_motif(), and process_for_motifs().
References test.T220_AtomAtomPairEnergies::fa_elec, beta_nonlocal::pose, and basic::options::OptionKeys::out::sf.
Referenced by process_for_motifs().
References beta_nonlocal::pose, and basic::options::OptionKeys::out::sf.
Referenced by process_for_motifs().
References beta_nonlocal::pose, and basic::options::OptionKeys::out::sf.
Referenced by process_for_motifs().
| int main | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
References argv, test.T009_Exceptions::e, basic::init(), in::file::l(), option, in::path::pdb(), out::path::pdb(), beta_nonlocal::pose, pyrosetta.distributed.io::pose_from_file(), process_for_motifs(), basic::options::OptionKeys::motifs::target_aa, motifs::target_aa(), 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 | ||
| ) | 
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 | ||
| ) | 
References atom1_vector, atom2_vector, atom3_vector, contacts(), basic::options::OptionKeys::matdes::dock::dump_pdb, fetch_atom_names(), natoms(), option, out::path::pdb(), beta_nonlocal::pose, ObjexxFCL::string_of(), basic::options::OptionKeys::motifs::target_aa, 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 | ||
| ) | 
References contacts(), motifs::duplicate_angle_cutoff(), motifs::duplicate_dist_cutoff(), basic::options::OptionKeys::motifs::elec_max_threshold, motifs::elec_max_threshold(), basic::options::OptionKeys::motifs::elec_min_threshold, motifs::elec_min_threshold(), test.T220_AtomAtomPairEnergies::fa_elec, fetch_atom_names(), get_elec_score(), get_hbond_score(), get_packing_score(), hb_score(), basic::options::OptionKeys::motifs::hbond_max_threshold, motifs::hbond_max_threshold(), basic::options::OptionKeys::motifs::hbond_min_threshold, motifs::hbond_min_threshold(), motif_distances(), create_a3b_hbs::nres, option, output_single_motif(), basic::options::OptionKeys::motifs::pack_max_threshold, motifs::pack_max_threshold(), basic::options::OptionKeys::motifs::pack_min_threshold, motifs::pack_min_threshold(), beta_nonlocal::pose, oop_conformations::scorefxn, ObjexxFCL::string_of(), basic::options::OptionKeys::motifs::target_aa, and TR.
Referenced by main().
| Vector const atom1_vector(1.500, 0.000, 0.000) | ( | 1. | 500, | 
| 0. | 000, | ||
| 0. | 000 | ||
| ) | 
Referenced by output_single_motif().
| Vector const atom2_vector(0.000, 0.000, 0.000) | ( | 0. | 000, | 
| 0. | 000, | ||
| 0. | 000 | ||
| ) | 
Referenced by output_single_motif().
| Vector const atom3_vector(0.000, 1.500, 0.000) | ( | 0. | 000, | 
| 1. | 500, | ||
| 0. | 000 | ||
| ) | 
Referenced by output_single_motif().
| 
 | static | 
Referenced by fetch_atom_names(), main(), output_single_motif(), and process_for_motifs().