![]() |
Rosetta
2021.16
|
Create candidate structures where some residues have been sampled by loophash. More...
#include <LoopHashSampler.hh>

Public Member Functions | |
| LoopHashSampler (LoopHashLibraryOP library, LocalInserterOP inserter) | |
| ~LoopHashSampler () override | |
| void | set_defaults () |
| Load default values from the command line. More... | |
| void | build_structures (const core::pose::Pose &start_pose, std::vector< core::io::silent::SilentStructOP > &lib_structs) |
| Create a set of structures for the given range of residues and other parameters stored in this class. More... | |
| void | close_gaps (const core::pose::Pose &start_pose, std::vector< core::pose::Pose > &lib_structs, core::Size loop_size) |
| Not implemented! Create a set of structures with closed gaps. More... | |
| void | set_start_res (core::Size value) |
| Set the first residue to sample. More... | |
| void | set_stop_res (core::Size value) |
| Set the last residue to sample. More... | |
| void | set_min_bbrms (core::Real value) |
| void | set_max_bbrms (core::Real value) |
| void | set_min_rms (core::Real value) |
| void | set_max_rms (core::Real value) |
| void | set_max_radius (core::Size value) |
| void | set_max_struct (core::Size value) |
| void | set_max_struct_per_radius (core::Size value) |
| void | set_max_nstruct (core::Size value) |
| void | set_nonideal (bool value) |
| void | set_filter_by_phipsi (bool value) |
| core::Size | get_start_res () |
| core::Size | get_stop_res () |
| core::Real | get_min_bbrms () |
| core::Real | get_max_bbrms () |
| core::Real | get_min_rms () |
| core::Real | get_max_rms () |
| core::Size | get_max_nstruct () |
| bool | get_filter_by_phipsi () |
| void | use_prefiltering (core::scoring::ScoreFunctionOP score_filt, core::Size nstruct) |
| Pre-filter structures with a scorefunction. More... | |
Private Attributes | |
| LoopHashLibraryOP | library_ |
| Pointer to the library used for insertion. More... | |
| LocalInserterOP | inserter_ |
| Pointer to the insertion functor which provides the peptide insertion facility. More... | |
| core::Size | start_res_ |
| Parameters for insertion positions. More... | |
| core::Size | stop_res_ |
| core::Real | min_bbrms_ |
| core::Real | max_bbrms_ |
| core::Real | min_rms_ |
| core::Real | max_rms_ |
| core::Size | max_struct_ |
| core::Size | max_struct_per_radius_ |
| core::Size | max_radius_ |
| core::Size | max_nstruct_ |
| bool | nonideal_ |
| bool | filter_by_phipsi_ |
| core::Size | nprefilter_ |
| Pre-filtering options. More... | |
| core::scoring::ScoreFunctionOP | score_filt_ |
Create candidate structures where some residues have been sampled by loophash.
| protocols::loophash::LoopHashSampler::LoopHashSampler | ( | LoopHashLibraryOP | library, |
| LocalInserterOP | inserter | ||
| ) |
References set_defaults().
|
overridedefault |
| void protocols::loophash::LoopHashSampler::build_structures | ( | const core::pose::Pose & | start_pose, |
| std::vector< core::io::silent::SilentStructOP > & | lib_structs | ||
| ) |
Create a set of structures for the given range of residues and other parameters stored in this class.
| [in] | start_pose | The pose to sample. |
| [out] | lib_structs | The resulting structures. |
The algorithm, in pseudocode:
start_res and stop_res: max_radius: lib_structs. References protocols::loophash::FilterBucket::BBrms, protocols::loophash::BBData::extra_key, protocols::loophash::FilterBucket::filter_beta, protocols::loophash::FilterBucket::filter_gly, protocols::loophash::FilterBucket::filter_pro, get_filter_by_phipsi(), protocols::loophash::LoopHashMap::get_loop_size(), protocols::loophash::LoopHashMap::get_peptide(), protocols::loophash::get_rmsd(), protocols::loophash::get_rt_over_leap(), protocols::loophash::LeapIndex::index, inserter_, protocols::loophash::is_valid_backbone(), library_, protocols::mean_field::max(), max_bbrms_, max_radius_, max_rms_, max_struct_, min_bbrms_, min_rms_, nonideal_, protocols::loophash::LeapIndex::offset, protocols::loophash::BBExtraData::pdb_id, protocols::loophash::BackboneSegment::phi(), protocols::loophash::BackboneSegment::psi(), protocols::loophash::LoopHashMap::radial_lookup(), protocols::loophash::BackboneSegment::read_from_pose(), protocols::loophash::FilterBucket::retrieve_index, core::scoring::rg, core::pose::Pose::sequence(), core::kinematics::MoveMap::set_bb(), core::pose::Pose::size(), start_res_, stop_res_, core::id::to_string(), protocols::loophash::TR(), core::pose::transfer_jumps(), and core::pose::transfer_phi_psi().
Referenced by protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::Mover_LoopHashRefine::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::loophash::LoopHashRelaxProtocol::manual_call(), and protocols::loophash::WorkUnit_LoopHash::run().
| void protocols::loophash::LoopHashSampler::close_gaps | ( | const core::pose::Pose & | start_pose, |
| std::vector< core::pose::Pose > & | lib_structs, | ||
| core::Size | loop_size | ||
| ) |
Not implemented! Create a set of structures with closed gaps.
|
inline |
References filter_by_phipsi_.
Referenced by build_structures().
|
inline |
References max_bbrms_.
|
inline |
References max_nstruct_.
|
inline |
References max_rms_.
|
inline |
References min_bbrms_.
|
inline |
References min_rms_.
|
inline |
References start_res_.
|
inline |
References stop_res_.
| void protocols::loophash::LoopHashSampler::set_defaults | ( | ) |
Load default values from the command line.
References filter_by_phipsi_, set_max_bbrms(), set_max_nstruct(), set_max_radius(), set_max_rms(), set_max_struct(), set_max_struct_per_radius(), set_min_bbrms(), and set_min_rms().
Referenced by LoopHashSampler().
|
inline |
References filter_by_phipsi_.
Referenced by protocols::loophash::LoopHashMoverWrapper::apply(), and protocols::loophash::LoopHashDiversifier::apply().
|
inline |
|
inline |
References max_nstruct_.
Referenced by protocols::loophash::LoopHashMoverWrapper::apply(), and set_defaults().
|
inline |
References max_radius_.
Referenced by protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::LoopHashDiversifier::apply(), and set_defaults().
|
inline |
|
inline |
|
inline |
References max_struct_per_radius_.
Referenced by protocols::loophash::LoopHashMoverWrapper::apply(), and set_defaults().
|
inline |
|
inline |
|
inline |
|
inline |
Set the first residue to sample.
References start_res_.
Referenced by protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::Mover_LoopHashRefine::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::loophash::LoopHashRelaxProtocol::manual_call(), and protocols::loophash::WorkUnit_LoopHash::run().
|
inline |
Set the last residue to sample.
References stop_res_.
Referenced by protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::Mover_LoopHashRefine::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::loophash::LoopHashRelaxProtocol::manual_call(), and protocols::loophash::WorkUnit_LoopHash::run().
|
inline |
Pre-filter structures with a scorefunction.
This is done using a chainbroken pose (before constraint minimization!) and is useful for experimentally derived scorefunctions (eg density).
References nprefilter_, and score_filt_.
Referenced by protocols::loophash::LoopHashMoverWrapper::apply().
|
private |
Referenced by get_filter_by_phipsi(), set_defaults(), and set_filter_by_phipsi().
|
private |
Pointer to the insertion functor which provides the peptide insertion facility.
Referenced by build_structures().
|
private |
Pointer to the library used for insertion.
Referenced by build_structures().
|
private |
Referenced by build_structures(), get_max_bbrms(), and set_max_bbrms().
|
private |
Referenced by get_max_nstruct(), and set_max_nstruct().
|
private |
Referenced by build_structures(), and set_max_radius().
|
private |
Referenced by build_structures(), get_max_rms(), and set_max_rms().
|
private |
Referenced by build_structures(), and set_max_struct().
|
private |
Referenced by set_max_struct_per_radius().
|
private |
Referenced by build_structures(), get_min_bbrms(), and set_min_bbrms().
|
private |
Referenced by build_structures(), get_min_rms(), and set_min_rms().
|
private |
Referenced by build_structures(), and set_nonideal().
|
private |
Pre-filtering options.
Referenced by use_prefiltering().
|
private |
Referenced by use_prefiltering().
|
private |
Parameters for insertion positions.
Referenced by build_structures(), get_start_res(), and set_start_res().
|
private |
Referenced by build_structures(), get_stop_res(), and set_stop_res().
1.8.7