Rosetta  2019.47
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
pepspec_anchor_dock.cc File Reference
#include <protocols/frags/VallData.hh>
#include <protocols/frags/TorsionFragment.hh>
#include <core/scoring/constraints/CoordinateConstraint.hh>
#include <core/scoring/constraints/ConstraintIO.hh>
#include <core/scoring/func/FlatHarmonicFunc.hh>
#include <protocols/simple_moves/BackboneMover.hh>
#include <protocols/minimization_packing/MinMover.hh>
#include <protocols/moves/MonteCarlo.hh>
#include <protocols/moves/Mover.hh>
#include <protocols/moves/MoverContainer.hh>
#include <protocols/moves/OutputMovers.hh>
#include <protocols/rigid/RigidBodyMover.hh>
#include <protocols/moves/TrialMover.hh>
#include <protocols/minimization_packing/PackRotamersMover.hh>
#include <protocols/minimization_packing/RotamerTrialsMover.hh>
#include <protocols/moves/RepeatMover.hh>
#include <protocols/loops/loops_main.hh>
#include <protocols/viewer/viewers.hh>
#include <core/types.hh>
#include <core/scoring/sasa.hh>
#include <core/chemical/AA.hh>
#include <core/chemical/AtomTypeSet.hh>
#include <core/conformation/Conformation.hh>
#include <core/conformation/Residue.hh>
#include <core/conformation/ResidueMatcher.hh>
#include <core/conformation/ResidueFactory.hh>
#include <core/pack/rotamer_set/RotamerCouplings.hh>
#include <core/chemical/ResidueType.hh>
#include <core/chemical/ResidueTypeSet.hh>
#include <core/chemical/VariantType.hh>
#include <core/chemical/util.hh>
#include <core/chemical/ChemicalManager.hh>
#include <core/scoring/rms_util.hh>
#include <core/scoring/EnergyMap.hh>
#include <core/scoring/Energies.hh>
#include <core/scoring/etable/Etable.hh>
#include <core/scoring/ScoringManager.hh>
#include <core/scoring/ScoreFunction.hh>
#include <core/scoring/ScoreFunctionFactory.hh>
#include <core/scoring/Ramachandran.hh>
#include <core/pack/dunbrack/RotamerLibrary.hh>
#include <core/pack/dunbrack/RotamerLibraryScratchSpace.hh>
#include <core/scoring/hbonds/HBondSet.hh>
#include <core/scoring/hbonds/hbonds.hh>
#include <core/scoring/etable/count_pair/CountPairFunction.hh>
#include <core/pack/rotamer_trials.hh>
#include <core/pack/pack_rotamers.hh>
#include <core/pack/task/PackerTask.hh>
#include <core/pack/task/TaskFactory.hh>
#include <core/pack/task/operation/TaskOperations.hh>
#include <core/kinematics/RT.hh>
#include <core/kinematics/FoldTree.hh>
#include <core/kinematics/MoveMap.hh>
#include <core/kinematics/util.hh>
#include <core/id/AtomID_Map.hh>
#include <core/pose/Pose.hh>
#include <core/pose/PDBPoseMap.hh>
#include <core/pose/PDBInfo.hh>
#include <core/pose/util.hh>
#include <basic/options/util.hh>
#include <basic/basic.hh>
#include <basic/options/option.hh>
#include <basic/database/open.hh>
#include <devel/init.hh>
#include <core/import_pose/import_pose.hh>
#include <utility/vector1.hh>
#include <utility/file/FileName.hh>
#include <numeric/conversions.hh>
#include <numeric/xyzVector.hh>
#include <numeric/random/random.hh>
#include <numeric/random/random_permutation.hh>
#include <numeric/NumericTraits.hh>
#include <ObjexxFCL/string.functions.hh>
#include <core/io/pdb/pdb_writer.hh>
#include <core/id/SequenceMapping.hh>
#include <core/sequence/Sequence.hh>
#include <core/sequence/SequenceAlignment.hh>
#include <core/sequence/NWAligner.hh>
#include <core/sequence/MatrixScoringScheme.hh>
#include <core/sequence/ScoringScheme.fwd.hh>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <string>
#include <sstream>
#include <basic/options/keys/in.OptionKeys.gen.hh>
#include <basic/options/keys/out.OptionKeys.gen.hh>
#include <basic/options/keys/score.OptionKeys.gen.hh>
#include <basic/options/keys/pepspec.OptionKeys.gen.hh>
#include <basic/Tracer.hh>
#include <core/pose/util.tmpl.hh>
#include <core/scoring/EnergyGraph.hh>
#include <utility/vector0.hh>
#include <utility/excn/Exceptions.hh>

Classes

struct  pep_coord_cst
 

Functions

void print_pep_csts (vector1< Vector > pep_cst_all_vects, vector1< Real > pep_cst_all_tols, vector1< Real > pep_cst_all_sds, vector1< Size > n_pep_cs, vector1< Size > pep_cst_all_indices, vector1< std::string > pep_cst_all_atom_names)
 
void set_pep_cst (pose::Pose &pose, Size pep_anchor, pep_coord_cst pep_cst)
 
void make_sequence_change (Size const seqpos, chemical::AA const &new_aa, pose::Pose &pose)
 
bool has_clash (pose::Pose pose, vector1< bool > check_seqpos, scoring::ScoreFunctionOP const &scorefxn, Real const clash_threshold, bool print_clash)
 
std::string pep_rmsd_analysis (pose::Pose pose, Size prot_begin, Size prot_end, Size pep_begin, Size pep_anchor, Size const pep_end)
 
Real average (vector1< Real > real_vec)
 
vector1< Real > shift_angles (vector1< Real > &angles)
 
void run_pep_prep ()
 
int main (int argc, char *argv[])
 

Variables

static basic::Tracer TR ("apps.pilot.chrisk/pep_prep")
 
vector1< pep_coord_cstpep_coord_csts
 

Function Documentation

Real average ( vector1< Real >  real_vec)

Referenced by run_pep_prep(), and shift_angles().

bool has_clash ( pose::Pose  pose,
vector1< bool check_seqpos,
scoring::ScoreFunctionOP const &  scorefxn,
Real const  clash_threshold,
bool  print_clash 
)
int main ( int  argc,
char *  argv[] 
)
void make_sequence_change ( Size const  seqpos,
chemical::AA const &  new_aa,
pose::Pose pose 
)

This function will make a sequence mutation while trying to preserve the variants

References utility_exit_with_message.

Referenced by run_pep_prep().

std::string pep_rmsd_analysis ( pose::Pose  pose,
Size  prot_begin,
Size  prot_end,
Size  pep_begin,
Size  pep_anchor,
Size const  pep_end 
)
void print_pep_csts ( vector1< Vector >  pep_cst_all_vects,
vector1< Real >  pep_cst_all_tols,
vector1< Real >  pep_cst_all_sds,
vector1< Size >  n_pep_cs,
vector1< Size >  pep_cst_all_indices,
vector1< std::string >  pep_cst_all_atom_names 
)
void run_pep_prep ( )

References test.T100_basic::ala, basic::options::OptionKeys::pepspec::anchor_type, pepspec::anchor_type(), pep_coord_cst::atom_name, average(), begin, basic::options::OptionKeys::chemical::chemical, pepspec::clash_cutoff(), utility::graph::Node::const_edge_list_end(), pyrosetta::create_score_function, numeric::conversions::degrees(), basic::options::OptionKeys::matdes::dock::dump_pdb, basic::options::OptionKeys::cutoutdomain::end, demo.D060_Folding::f, assign_charges::first, basic::options::OptionKeys::frags::frags, utility::graph::Edge::get_node(), ObjexxFCL::getline(), has_clash(), pepspec::homol_csts(), test.T200_Scoring::ii, line, make_sequence_change(), test.Workshop5test::min_mover, basic::options::OptionKeys::MonteCarlo::MonteCarlo, pepspec::n_anchor_dock_std_devs(), basic::options::OptionKeys::pepspec::n_append, pepspec::n_append(), pepspec::n_dock_loop(), basic::options::OptionKeys::pepspec::n_peptides, pepspec::n_peptides(), basic::options::OptionKeys::pepspec::n_prepend, pepspec::n_prepend(), pepspec::no_prepack_prot(), out::file::o(), basic::options::OptionKeys::optimization::optimization, option, erraser_single_res_analysis::out, demo.D010_Pose_structure::pdb_filename, pepspec::pdb_list(), pep_anchor(), pep_begin(), pep_end(), pep_jump(), pep_coord_cst::pep_pos, pep_rmsd_analysis(), demo.D010_Pose_structure::pose, pyrosetta.distributed.io::pose_from_file, pepspec::prep_align_prot_to(), pepspec::prep_rot_std_dev(), pepspec::prep_trans_std_dev(), pepspec::prep_use_ref_rotamers(), print_pep_csts(), prot_anchor(), prot_begin(), prot_chain(), prot_end(), numeric::conversions::radians(), numeric::random::random_permutation(), pepspec::ref_pdb_list(), pepspec::remove_input_bb(), basic::options::OptionKeys::hotspot::residue, numeric::random::rg(), pepspec::rmsd_analysis(), test.T200_Scoring::rsd1, test.T200_Scoring::rsd2, pepspec::run_sequential(), basic::options::OptionKeys::DisulfideInsertion::scorefxn, basic::options::OptionKeys::frags::scoring::scoring, pep_coord_cst::sd, basic::options::OptionKeys::recces::seq1, basic::options::OptionKeys::recces::seq2, basic::options::OptionKeys::pepspec::seq_align, pepspec::seq_align(), basic::options::OptionKeys::relax::sequence, set_pep_cst(), shift_angles(), pepspec::soft_wts(), numeric::square(), basic::options::OptionKeys::mh::match::ss, basic::options::start_file(), ObjexxFCL::string_of(), test.G200_Module_Region::task, pep_coord_cst::tol, TR, numeric::random::uniform(), numeric::random::RandomGenerator::uniform(), pepspec::use_input_bb(), basic::options::OptionKeys::inout::dbms::user, utility_exit_with_message, numeric::crick_equations::x(), pep_coord_cst::x, pep_coord_cst::x0, numeric::crick_equations::y(), pep_coord_cst::y, numeric::crick_equations::z(), and pep_coord_cst::z.

Referenced by main().

void set_pep_cst ( pose::Pose pose,
Size  pep_anchor,
pep_coord_cst  pep_cst 
)
vector1< Real > shift_angles ( vector1< Real > &  angles)

Variable Documentation

vector1< pep_coord_cst > pep_coord_csts
basic::Tracer TR("apps.pilot.chrisk/pep_prep")
static

Referenced by has_clash(), main(), and run_pep_prep().