Rosetta Protocols  2014.35
Public Types | Public Member Functions | Private Attributes | List of all members
protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber Class Reference

torsion sampling kinematic perturber More...

#include <KinematicPerturber.hh>

Public Types

typedef KinematicPerturber parent
 

Public Member Functions

 TorsionSamplingKinematicPerturber (KinematicMoverCAP kinmover_in)
 
 ~TorsionSamplingKinematicPerturber ()
 
std::string perturber_type () const
 
void perturb_beta_residue (core::Real &phi, core::Real &theta, core::Real &psi, const core::Size beta_residue_type) const
 Varies torsions of a beta-amino acid residue based on minimia in the beta-amino acid Ramachandran cube. This randomly picks a minimum, then chooses phi/theta/psi values randomly in a Gaussian centered in that minimum. More...
 
void initialize_betaresidue_minima (utility::vector1< core::Real > &philist, utility::vector1< core::Real > &thetalist, utility::vector1< core::Real > &psilist, const core::Size mode) const
 Initialize positions of minima in the beta-amino acid Ramachandran cube. More...
 
void perturb_chain (core::pose::Pose const &pose, utility::vector1< core::Real > &torsions, utility::vector1< core::Real > &bond_ang, utility::vector1< core::Real > &)
 varies torsions always and bond angles sometimes. Currently torsion varying will respect a movemap if present; angles do NOT look for a movemap. More...
 
void set_pose_after_closure (core::pose::Pose &pose, utility::vector1< core::Real > const &torsions, utility::vector1< core::Real > const &bond_ang, utility::vector1< core::Real > const &bond_len, bool closure_successful) const
 after the kinmover has closed the loop, the perturber needs to put the solutions into the pose note: the base class version of this function sets the torsions, so any KinematicPerturber that only changes the torsions will not have to implement this function More...
 
void set_vary_ca_bond_angles (bool vary_ca_bond_angles)
 
- Public Member Functions inherited from protocols::loops::loop_closure::kinematic_closure::KinematicPerturber
 KinematicPerturber ()
 
virtual ~KinematicPerturber ()
 
void set_kinmover (KinematicMoverCAP kinmover)
 
void set_movemap (core::kinematics::MoveMapCOP mm)
 
core::kinematics::MoveMapCOP get_movemap () const
 
virtual bool perturber_exhausted () const
 
void set_max_sample_iterations (core::Size sample_its)
 
core::Size max_sample_iterations () const
 
void clear_torsion_string_stack ()
 
KinematicMoverCAP kinmover () const
 

Private Attributes

bool vary_ca_bond_angles_
 
bool sample_omega_for_pre_prolines_
 
core::scoring::Ramachandran const & rama_
 

Detailed Description

torsion sampling kinematic perturber

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::TorsionSamplingKinematicPerturber ( KinematicMoverCAP  kinmover_in)
protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::~TorsionSamplingKinematicPerturber ( )

Member Function Documentation

void protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::initialize_betaresidue_minima ( utility::vector1< core::Real > &  philist,
utility::vector1< core::Real > &  thetalist,
utility::vector1< core::Real > &  psilist,
const core::Size  mode 
) const

Initialize positions of minima in the beta-amino acid Ramachandran cube.

Helper function for TorsionSamplingKinematicPerturber::perturb_beta_residue. This initializes the list of minima in the Ramachandran cube for beta-3-amino acids.

Referenced by perturb_beta_residue().

void protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::perturb_beta_residue ( core::Real phi,
core::Real theta,
core::Real psi,
const core::Size  beta_residue_type 
) const

Varies torsions of a beta-amino acid residue based on minimia in the beta-amino acid Ramachandran cube. This randomly picks a minimum, then chooses phi/theta/psi values randomly in a Gaussian centered in that minimum.

This randomly picks a minimum from the enumerated minimia of the beta-amino acid Ramachandran cube, then chooses phi/theta/psi values randomly in a Gaussian centered in that minimum. The behaviour depends on beta_residue_type (0=pick everything randomly, 1=pick using beta-3-alanine Ramachandran cube).

References numeric::random::RandomGenerator::gaussian(), initialize_betaresidue_minima(), numeric::random::RandomGenerator::random_range(), protocols::loops::loop_closure::kinematic_closure::RG, and numeric::random::RandomGenerator::uniform().

Referenced by perturb_chain().

void protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::perturb_chain ( core::pose::Pose const &  pose,
utility::vector1< core::Real > &  torsions,
utility::vector1< core::Real > &  bond_ang,
utility::vector1< core::Real > &   
)
virtual
std::string protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::perturber_type ( ) const
inlinevirtual
void protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::set_pose_after_closure ( core::pose::Pose pose,
utility::vector1< core::Real > const &  torsions,
utility::vector1< core::Real > const &  ,
utility::vector1< core::Real > const &  ,
bool   
) const
virtual
void protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::set_vary_ca_bond_angles ( bool  vary_ca_bond_angles)
inline

References vary_ca_bond_angles_.

Member Data Documentation

core::scoring::Ramachandran const& protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::rama_
private

Referenced by perturb_chain().

bool protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::sample_omega_for_pre_prolines_
private

Referenced by perturb_chain().

bool protocols::loops::loop_closure::kinematic_closure::TorsionSamplingKinematicPerturber::vary_ca_bond_angles_
private

The documentation for this class was generated from the following files: