Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::loophash::LoopHashSampler Class Reference

#include <LoopHashSampler.hh>

Public Member Functions

 LoopHashSampler (LoopHashLibraryOP library, LocalInserterOP inserter)
 
virtual ~LoopHashSampler ()
 
void set_defaults ()
 
void build_structures (const core::pose::Pose &start_pose, std::vector< core::io::silent::SilentStructOP > &lib_structs)
 create a set of structures for a the given range of residues and other parameters stored int his class. More...
 
void close_gaps (const core::pose::Pose &start_pose, std::vector< core::pose::Pose > &lib_structs, core::Size loop_size)
 create a set of structures with closed gaps More...
 
void set_start_res (core::Size value)
 
void set_stop_res (core::Size value)
 
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)
 

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_
 (fpd) pre-filtering options More...
 
core::scoring::ScoreFunctionOP score_filt_
 

Constructor & Destructor Documentation

protocols::loophash::LoopHashSampler::LoopHashSampler ( LoopHashLibraryOP  library,
LocalInserterOP  inserter 
)

References set_defaults().

protocols::loophash::LoopHashSampler::~LoopHashSampler ( )
virtual

Member Function Documentation

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 a the given range of residues and other parameters stored int his class.

References protocols::loophash::LoopHashLibrary::backbone_database(), protocols::loophash::FilterBucket::BBrms, cp, protocols::loophash::BBData::extra_key, protocols::loophash::BackboneDB::extra_size(), core::io::silent::SilentStruct::fill_struct(), protocols::loophash::FilterBucket::filter_beta, protocols::loophash::FilterBucket::filter_gly, protocols::loophash::FilterBucket::filter_pro, protocols::loophash::BackboneDB::get_backbone_segment(), protocols::loophash::BackboneDB::get_extra_data(), get_filter_by_phipsi(), core::io::silent::SilentStructFactory::get_instance(), protocols::loophash::LoopHashMap::get_loop_size(), protocols::loophash::LoopHashMap::get_peptide(), protocols::loophash::BackboneDB::get_protein(), protocols::loophash::get_rmsd(), protocols::loophash::get_rt_over_leap(), core::io::silent::SilentStructFactory::get_silent_struct(), core::io::silent::SilentStructFactory::get_silent_struct_out(), protocols::loophash::LoopHashLibrary::gethash(), protocols::loophash::LoopHashLibrary::hash_sizes(), protocols::loophash::LeapIndex::index, inserter_, protocols::loophash::is_valid_backbone(), library_, protocols::loophash::LoopHashLibrary::loopdb_range(), max_bbrms_, max_radius_, max_rms_, max_struct_, min_bbrms_, min_rms_, nonideal_, nres, protocols::loophash::LeapIndex::offset, optimization, options, protocols::loophash::BBExtraData::pdb_id, protocols::loophash::BackboneSegment::phi(), protocols::loophash::BackboneSegment::psi(), protocols::loophash::LoopHashMap::radial_lookup(), radius, numeric::random::random_permutation(), protocols::loophash::BackboneSegment::read_from_pose(), protocols::loophash::FilterBucket::retrieve_index, numeric::random::RG, runtime_assert, core::pose::Pose::sequence(), sequence, core::kinematics::MoveMap::set_bb(), start_res_, stop_res_, utility::to_string(), core::pose::Pose::total_residue(), protocols::loophash::TR, transfer_jumps(), and 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 
)

create a set of structures with closed gaps

Referenced by protocols::loophash::FastGapMover::apply().

bool protocols::loophash::LoopHashSampler::get_filter_by_phipsi ( )
inline

References filter_by_phipsi_.

Referenced by build_structures().

core::Real protocols::loophash::LoopHashSampler::get_max_bbrms ( )
inline

References max_bbrms_.

core::Size protocols::loophash::LoopHashSampler::get_max_nstruct ( )
inline

References max_nstruct_.

core::Real protocols::loophash::LoopHashSampler::get_max_rms ( )
inline

References max_rms_.

core::Real protocols::loophash::LoopHashSampler::get_min_bbrms ( )
inline

References min_bbrms_.

core::Real protocols::loophash::LoopHashSampler::get_min_rms ( )
inline

References min_rms_.

core::Size protocols::loophash::LoopHashSampler::get_start_res ( )
inline

References start_res_.

core::Size protocols::loophash::LoopHashSampler::get_stop_res ( )
inline

References stop_res_.

void protocols::loophash::LoopHashSampler::set_defaults ( )
void protocols::loophash::LoopHashSampler::set_filter_by_phipsi ( bool  value)
inline
void protocols::loophash::LoopHashSampler::set_max_bbrms ( core::Real  value)
inline
void protocols::loophash::LoopHashSampler::set_max_nstruct ( core::Size  value)
inline
void protocols::loophash::LoopHashSampler::set_max_radius ( core::Size  value)
inline
void protocols::loophash::LoopHashSampler::set_max_rms ( core::Real  value)
inline
void protocols::loophash::LoopHashSampler::set_max_struct ( core::Size  value)
inline
void protocols::loophash::LoopHashSampler::set_max_struct_per_radius ( core::Size  value)
inline
void protocols::loophash::LoopHashSampler::set_min_bbrms ( core::Real  value)
inline
void protocols::loophash::LoopHashSampler::set_min_rms ( core::Real  value)
inline
void protocols::loophash::LoopHashSampler::set_nonideal ( bool  value)
inline
void protocols::loophash::LoopHashSampler::set_start_res ( core::Size  value)
inline
void protocols::loophash::LoopHashSampler::set_stop_res ( core::Size  value)
inline
void protocols::loophash::LoopHashSampler::use_prefiltering ( core::scoring::ScoreFunctionOP  score_filt,
core::Size  nstruct 
)
inline

Member Data Documentation

bool protocols::loophash::LoopHashSampler::filter_by_phipsi_
private
LocalInserterOP protocols::loophash::LoopHashSampler::inserter_
private

pointer to the insertion functor which provides the peptide insertion facility

Referenced by build_structures().

LoopHashLibraryOP protocols::loophash::LoopHashSampler::library_
private

pointer to the library used for insertion

Referenced by build_structures().

core::Real protocols::loophash::LoopHashSampler::max_bbrms_
private
core::Size protocols::loophash::LoopHashSampler::max_nstruct_
private

Referenced by get_max_nstruct(), and set_max_nstruct().

core::Size protocols::loophash::LoopHashSampler::max_radius_
private

Referenced by build_structures(), and set_max_radius().

core::Real protocols::loophash::LoopHashSampler::max_rms_
private
core::Size protocols::loophash::LoopHashSampler::max_struct_
private

Referenced by build_structures(), and set_max_struct().

core::Size protocols::loophash::LoopHashSampler::max_struct_per_radius_
private
core::Real protocols::loophash::LoopHashSampler::min_bbrms_
private
core::Real protocols::loophash::LoopHashSampler::min_rms_
private
bool protocols::loophash::LoopHashSampler::nonideal_
private

Referenced by build_structures(), and set_nonideal().

core::Size protocols::loophash::LoopHashSampler::nprefilter_
private

(fpd) pre-filtering options

Referenced by use_prefiltering().

core::scoring::ScoreFunctionOP protocols::loophash::LoopHashSampler::score_filt_
private

Referenced by use_prefiltering().

core::Size protocols::loophash::LoopHashSampler::start_res_
private

parameters for insertion positions

Referenced by build_structures(), get_start_res(), and set_start_res().

core::Size protocols::loophash::LoopHashSampler::stop_res_
private

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