Rosetta
|
Sample backbone torsions using loop hash. More...
#include <LoopHashPerturber.hh>
Public Member Functions | |
LoopHashPerturber (protocols::loophash::LoopHashLibraryOP lh_library) | |
constructor More... | |
std::string | get_name () const override |
void | perturb_subset (core::pose::Pose const &pose, kinematic_closure::IndexList const &residues, kinematic_closure::ClosureProblemOP problem) override |
void | perturb_subset_with_balance (core::pose::Pose const &pose, kinematic_closure::IndexList const &residues, kinematic_closure::ClosureProblemOP problem) override |
void | get_backbone_segments (core::pose::Pose const &pose, core::Size loophash_fragment_start, core::Size loophash_fragment_end) |
Find a backbone segment from the loop hash library. More... | |
void | get_random_backbone_segments (core::pose::Pose const &pose, core::Size loophash_fragment_start, core::Size loophash_fragment_end) |
Find a random backbone segment from the loop hash library @detail The selected fragment need not to match the leap. More... | |
std::pair< protocols::loophash::BackboneSegment, std::string > | extract_fragment (core::Size frag_index, core::Size loop_size) |
Extract the fragment information into a pair. More... | |
void | use_radial_lookup (bool value) |
Set if use radial loopup. More... | |
void | random_mode (bool value) |
Set if use random mode. More... | |
void | perturb_sequence (bool value) |
Set if perturb sequence. More... | |
void | seqposes_no_mutate_str (std::string value) |
Set the sequence positions that should not be mutated. More... | |
![]() | |
void | perturb (Pose const &pose, ClosureProblemOP problem) |
Perturb all of the non-pivot residues. More... | |
void | perturb_with_balance (Pose const &pose, ClosureProblemOP problem) |
Perturb all of the non-pivot residues such that detailed balance is obeyed. More... | |
Private Types | |
typedef utility::vector1< std::pair< protocols::loophash::BackboneSegment, std::string > > | BackboneSegments |
Private Attributes | |
protocols::loophash::LoopHashLibraryOP | lh_library_ |
bool | use_radial_lookup_ = true |
bool | random_mode_ = false |
bool | perturb_sequence_ = false |
std::string | seqposes_no_mutate_str_ |
BackboneSegments | bb_segs_ |
numeric::geometry::hashing::Real6 | last_loop_transform_ |
Sample backbone torsions using loop hash.
|
private |
protocols::loop_modeler::perturbers::LoopHashPerturber::LoopHashPerturber | ( | protocols::loophash::LoopHashLibraryOP | lh_library | ) |
constructor
References lh_library_.
std::pair< protocols::loophash::BackboneSegment, std::string > protocols::loop_modeler::perturbers::LoopHashPerturber::extract_fragment | ( | core::Size | frag_index, |
core::Size | loop_size | ||
) |
Extract the fragment information into a pair.
References protocols::loophash::BBData::extra_key, protocols::loophash::LoopHashMap::get_peptide(), lh_library_, and protocols::loophash::BBExtraData::sequence.
Referenced by get_backbone_segments(), and get_random_backbone_segments().
void protocols::loop_modeler::perturbers::LoopHashPerturber::get_backbone_segments | ( | core::pose::Pose const & | pose, |
core::Size | loophash_fragment_start, | ||
core::Size | loophash_fragment_end | ||
) |
Find a backbone segment from the loop hash library.
References bb_segs_, extract_fragment(), protocols::loophash::get_rt_over_leap_without_foldtree_bs(), last_loop_transform_, lh_library_, protocols::loophash::LoopHashMap::lookup(), protocols::loophash::LoopHashMap::radial_lookup(), and use_radial_lookup_.
Referenced by perturb_subset().
|
inlineoverridevirtual |
void protocols::loop_modeler::perturbers::LoopHashPerturber::get_random_backbone_segments | ( | core::pose::Pose const & | pose, |
core::Size | loophash_fragment_start, | ||
core::Size | loophash_fragment_end | ||
) |
Find a random backbone segment from the loop hash library @detail The selected fragment need not to match the leap.
References bb_segs_, extract_fragment(), lh_library_, and protocols::loophash::LoopHashMap::n_loops().
Referenced by perturb_subset().
|
inline |
Set if perturb sequence.
References perturb_sequence_.
|
overridevirtual |
Implements protocols::kinematic_closure::perturbers::Perturber.
References core::chemical::aa_from_oneletter_code(), bb_segs_, get_backbone_segments(), get_random_backbone_segments(), core::pose::get_resnum_list(), protocols::ligand_docking::ga_ligand_dock::mutate(), core::chemical::name_from_aa(), protocols::loophash::BackboneSegment::omega(), perturb_sequence_, protocols::loophash::BackboneSegment::phi(), protocols::loophash::BackboneSegment::psi(), random_mode_, seqposes_no_mutate_str_, protocols::loops::start, and protocols::loops::stop.
Referenced by perturb_subset_with_balance().
|
overridevirtual |
Reimplemented from protocols::kinematic_closure::perturbers::Perturber.
References perturb_subset().
|
inline |
Set if use random mode.
References random_mode_.
|
inline |
Set the sequence positions that should not be mutated.
References seqposes_no_mutate_str_.
|
inline |
Set if use radial loopup.
References use_radial_lookup_.
|
private |
Referenced by get_backbone_segments(), get_random_backbone_segments(), and perturb_subset().
|
private |
Referenced by get_backbone_segments().
|
private |
Referenced by extract_fragment(), get_backbone_segments(), get_random_backbone_segments(), and LoopHashPerturber().
|
private |
Referenced by perturb_sequence(), and perturb_subset().
|
private |
Referenced by perturb_subset(), and random_mode().
|
private |
Referenced by perturb_subset(), and seqposes_no_mutate_str().
|
private |
Referenced by get_backbone_segments(), and use_radial_lookup().