Rosetta 3.5
|
#include <FoldTreeHybridize.hh>
Public Member Functions | |
FoldTreeHybridize () | |
FoldTreeHybridize (core::Size const initial_template_index, utility::vector1< core::pose::PoseOP > const &template_poses, utility::vector1< core::Real > const &template_weights, utility::vector1< protocols::loops::Loops > const &template_chunks, utility::vector1< protocols::loops::Loops > const &template_contigs, core::fragment::FragSetOP fragments_small_in, core::fragment::FragSetOP fragments_big_in) | |
void | init () |
void | revert_loops_to_original (core::pose::Pose &pose, Loops loops) |
void | set_loops_to_virt_ala (core::pose::Pose &pose, Loops loops) |
Real | gap_distance (Size Seq_gap) |
void | add_gap_constraints_to_pose (core::pose::Pose &pose, Loops const &chunks, int gap_edge_shift=0, Real stdev=0.1) |
void | restore_original_foldtree (core::pose::Pose &pose) |
void | setup_foldtree (core::pose::Pose &pose) |
numeric::xyzVector< Real > | center_of_mass (core::pose::Pose const &pose) |
void | translate_virt_to_CoM (core::pose::Pose &pose) |
utility::vector1< core::Real > | get_residue_weights_for_1mers (core::pose::Pose &pose) |
utility::vector1< core::Real > | get_residue_weights_for_small_frags (core::pose::Pose &pose) |
utility::vector1< core::Real > | get_residue_weights_for_big_frags (core::pose::Pose &pose) |
void | set_constraint_file (std::string cst_file_in) |
void | set_increase_cycles (core::Real increase_cycles_in) |
void | set_stage1_1_cycles (core::Size stage1_1_cycles_in) |
void | set_stage1_2_cycles (core::Size stage1_2_cycles_in) |
void | set_stage1_3_cycles (core::Size stage1_3_cycles_in) |
void | set_stage1_4_cycles (core::Size stage1_4_cycles_in) |
void | set_add_non_init_chunks (bool add_non_init_chunks_in) |
void | set_domain_assembly (bool domain_assembly_in) |
void | set_add_hetatm (bool add_hetatm_in, core::Real hetatm_cst_weight_in) |
void | set_frag_1mer_insertion_weight (core::Real frag_1mer_insertion_weight_in) |
void | set_small_frag_insertion_weight (core::Real small_frag_insertion_weight_in) |
void | set_big_frag_insertion_weight (core::Real big_frag_insertion_weight_in) |
void | set_frag_weight_aligned (core::Real frag_weight_aligned_in) |
void | set_auto_frag_insertion_weight (bool auto_frag_insertion_weight_in) |
void | set_max_registry_shift (core::Size max_registry_shift_in) |
void | set_top_n_big_frag (core::Size top_n_big_frag_in) |
void | set_top_n_small_frag (core::Size top_n_small_frag_in) |
void | set_pairings_file (std::string pairings_file_in) |
void | set_sheets (utility::vector1< core::Size > sheets_in) |
void | set_random_sheets (utility::vector1< core::Size > random_sheets_in) |
void | set_filter_templates (bool filter_templates_in) |
void | set_scorefunction (core::scoring::ScoreFunctionOP const scorefxn) |
void | setup_scorefunctions (core::scoring::ScoreFunctionOP score0, core::scoring::ScoreFunctionOP score1, core::scoring::ScoreFunctionOP score2, core::scoring::ScoreFunctionOP score5, core::scoring::ScoreFunctionOP score3) |
void | apply (core::pose::Pose &pose) |
std::string | get_name () const |
Each derived class must specify its name. The class name. More... | |
utility::vector1< std::pair < core::Size, core::Size > > | get_strand_pairs () |
std::set< core::Size > | get_pairings_residues () |
![]() | |
Mover () | |
virtual | ~Mover () |
virtual MoverSP | create () |
virtual void | apply (core::io::serialization::PipeMap &pmap) |
virtual void | parse_state (SerializableState const &state) |
virtual void | parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks, MoverCacheSP cache) |
virtual void | save_state (SerializableState &state) |
Mover (std::string const &type_name) | |
sets the type for a mover; name_ has been removed (2010/05/14) More... | |
Mover (Mover const &other) | |
Mover & | operator= (Mover const &other) |
assignment operator More... | |
virtual core::Real | last_proposal_density_ratio () |
std::string const & | type () const |
std::string | get_current_tag () const |
A tag is a unique identifier used to identify structures produced by this Mover. get_current_tag() returns the tag, and set_current_tag( std::string tag ) sets the tag. This functionality is not intended for use with the 2008 job distributor. More... | |
void | set_current_tag (std::string const &new_tag) |
virtual void | set_input_pose (PoseCOP pose) |
setter for poses contained for rms More... | |
virtual void | set_native_pose (PoseCOP pose) |
setter for native poses contained for rms -— we should get rid of this method? it is widely used, but a bit unsafe More... | |
PoseCOP | get_input_pose () const |
PoseCOP | get_native_pose () const |
virtual void | test_move (Pose &pose) |
: Unit test support function. Apply one move to a given pose. Allows extra test specific functions to be called before applying More... | |
void | type (const std::string &type_in) |
virtual MoverOP | clone () const |
clone has to be overridden only if clone invocation is expected. More... | |
virtual void | parse_my_tag (TagPtr const tag, DataMap &data, Filters_map const &filters, Movers_map const &movers, Pose const &pose) |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
std::string | get_type () const |
MoverStatus | get_last_move_status () const |
end parser interface, start Job Distributor interface///////////// More... | |
void | reset_status () |
resets status to SUCCESS, meant to be used before an apply(). The job distributor (august 08 vintage) uses this to ensure non-accumulation of status across apply()s. More... | |
virtual core::pose::PoseOP | get_additional_output () |
Mechanism by which a mover may return multiple output poses from a single input pose. More... | |
virtual void | clear_info () |
Strings container can be used to return miscellaneous info (as std::string) from a mover, such as notes about the results of apply(). The job distributor (Apr 09 vintage) will check this function to see if your protocol wants to add string info to the Job that ran this mover. One way this can be useful is that later, a JobOutputter may include/append this info to an output file. More... | |
virtual Strings & | info () |
non-const accessor More... | |
virtual Strings const & | info () const |
const accessor More... | |
virtual bool | reinitialize_for_each_job () const |
this function informs the job distributor (august 08 vintage) whether this object needs to be freshly regenerated on each use. More... | |
virtual bool | reinitialize_for_new_input () const |
this function informs the job distributor (august 08 vintage) whether this object needs to be regenerated when the input pose is about to change (for example, if the mover has special code on the first apply() that is only valid for that one input pose). More... | |
virtual MoverOP | fresh_instance () const |
this is like clone(), except it generates a new mover object freshly created with the default ctor. This function should be pure virtual but that would disrupt the code base; MAKE SURE YOU DEFINE IT if you want to have your mover be a protocol handed to the job distributor (august 08 vintage). More... | |
void | set_current_job (protocols::jobdist::BasicJobCOP job) |
jobdist::BasicJobCOP | get_current_job () const |
Private Member Functions | |
void | normalize_template_wts () |
void | auto_frag_insertion_weight (WeightedFragmentTrialMoverOP &frag_1mer_trial_mover, WeightedFragmentTrialMoverOP &small_frag_trial_mover, WeightedFragmentTrialMoverOP &big_frag_trial_mover) |
utility::vector1< core::Size > | get_jump_anchors () |
void | add_strand_pairings () |
void | add_strand_pairing (core::scoring::dssp::Pairing const &pairing) |
void | filter_templates (std::set< core::Size > const &templates_to_remove) |
void | superimpose_strand_pairings_to_templates (core::pose::Pose &pose) |
core::Size | map_pdb_info_number (const core::pose::Pose &pose, core::Size pdb_res) |
protocols::simple_moves::ClassicFragmentMoverOP | get_pairings_jump_mover () |
Additional Inherited Members | |
![]() | |
typedef utility::tag::TagPtr | TagPtr |
typedef core::pose::Pose | Pose |
typedef core::pose::PoseCOP | PoseCOP |
typedef protocols::filters::Filters_map | Filters_map |
typedef std::list< std::string > | Strings |
![]() | |
static std::string | name () |
static void | register_options () |
overload this static method if you access options within the mover. these options will end up in -help of your application if users of this mover call register_options. do this recursively! if you use movers within your mover, call their register_options in your register_options() method. More... | |
![]() | |
void | set_last_move_status (MoverStatus status) |
nonvirtual setter for MoverStatus last_status_. Protected means that only the mover itself will be able to change its own status. The job distributor (august 08 vintage) is aware of status set with this function and will do what the MoverStatus says. More... | |
protocols::hybridization::FoldTreeHybridize::FoldTreeHybridize | ( | ) |
References init().
protocols::hybridization::FoldTreeHybridize::FoldTreeHybridize | ( | core::Size const | initial_template_index, |
utility::vector1< core::pose::PoseOP > const & | template_poses, | ||
utility::vector1< core::Real > const & | template_weights, | ||
utility::vector1< protocols::loops::Loops > const & | template_chunks, | ||
utility::vector1< protocols::loops::Loops > const & | template_contigs, | ||
core::fragment::FragSetOP | fragments_small_in, | ||
core::fragment::FragSetOP | fragments_big_in | ||
) |
void protocols::hybridization::FoldTreeHybridize::add_gap_constraints_to_pose | ( | core::pose::Pose & | pose, |
Loops const & | chunks, | ||
int | gap_edge_shift = 0 , |
||
Real | stdev = 0.1 |
||
) |
|
private |
References protocols::simple_moves::ExtendedPoseMover::apply(), core::pose::create_subpose(), protocols::loops::extract_continuous_chunks(), protocols::jumping::JumpSample::fold_tree(), get_pairings_jump_mover(), jump_sample_, core::scoring::dssp::Pairing::Pos1(), core::scoring::dssp::Pairing::Pos2(), protocols::loops::Loops::push_back(), strand_pairings_template_indices_, target_sequence_, template_chunks_, template_contigs_, template_poses_, template_wts_, protocols::hybridization::TR(), and core::kinematics::FoldTree::tree_from_jumps_and_cuts().
Referenced by add_strand_pairings().
|
private |
References add_strand_pairing(), filter_templates(), filter_templates_, frag_libs_small_, protocols::jumping::JumpSample::get_pairing(), protocols::loops::Loops::has(), core::scoring::dssp::StrandPairingSet::has_pairing(), protocols::jumping::JumpSample::is_valid(), jump_frags_, jump_sample_, protocols::jumping::JumpSample::jumps(), pairings_file_, core::scoring::dssp::Pairing::Pos1(), core::scoring::dssp::Pairing::Pos2(), random_sheets_, core::scoring::dssp::read_pairing_list(), protocols::hybridization::renumber_with_pdb_info(), sheets_, protocols::jumping::JumpSample::size(), template_chunks_, template_poses_, templates_with_incorrect_strand_pairings_, and protocols::hybridization::TR().
Referenced by apply().
|
virtual |
Implements protocols::moves::Mover.
References protocols::moves::accept_reject, add_hetatm_, protocols::hybridization::add_non_protein_cst(), add_strand_pairings(), protocols::hybridization::all_chunks, protocols::moves::WhileMover::apply(), protocols::moves::RepeatMover::apply(), protocols::hybridization::ChunkTrialMover::apply(), auto_frag_insertion_weight(), big_frag_insertion_weight_, cst_file_, floating_pairs_, frag_1mer_insertion_weight_, frag_libs_1mer_, frag_libs_big_, frag_libs_small_, protocols::hybridization::get_gdtmm(), get_jump_anchors(), get_pairings_jump_mover(), get_pairings_residues(), get_residue_weights_for_1mers(), get_residue_weights_for_big_frags(), get_residue_weights_for_small_frags(), core::conformation::Residue::has(), hetatm_cst_weight_, increase_cycles_, initial_template_index_, core::conformation::Residue::is_protein(), core::scoring::linear_chainbreak, max_registry_shift_, core::scoring::name_from_score_type(), native_, core::scoring::overlap_chainbreak, overlap_chainbreaks_, protocols::hybridization::random_chunk, core::pose::Pose::remove_constraints(), core::pose::Pose::residue(), restore_original_foldtree(), scorefxn_, core::pose::Pose::sequence(), protocols::hybridization::ChunkTrialMover::set_template(), core::pose::setPoseExtraScores(), protocols::hybridization::setup_centroid_constraints(), setup_foldtree(), setup_scorefunctions(), protocols::hybridization::AllResiduesChanged::show_unmoved(), small_frag_insertion_weight_, ss_chunks_pose_, stage1_1_cycles_, stage1_2_cycles_, stage1_3_cycles_, stage1_4_cycles_, strand_pairings_template_indices_, superimpose_strand_pairings_to_templates(), target_sequence_, template_chunks_, template_poses_, template_wts_, top_n_big_frag_, core::pose::Pose::total_residue(), protocols::hybridization::TR(), and translate_virt_to_CoM().
|
private |
numeric::xyzVector< Real > protocols::hybridization::FoldTreeHybridize::center_of_mass | ( | core::pose::Pose const & | pose) |
References core::chemical::aa_vrt, core::pose::Pose::residue(), core::pose::Pose::total_residue(), and core::conformation::Atom::xyz().
Referenced by translate_virt_to_CoM().
|
private |
References initial_template_index_, normalize_template_wts(), template_chunks_, template_contigs_, template_poses_, template_wts_, and protocols::hybridization::TR().
Referenced by add_strand_pairings().
Referenced by add_gap_constraints_to_pose().
|
private |
|
virtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
|
private |
References jump_frags_.
Referenced by add_strand_pairing(), and apply().
std::set< core::Size > protocols::hybridization::FoldTreeHybridize::get_pairings_residues | ( | ) |
References strand_pairs_.
Referenced by apply(), and get_jump_anchors().
utility::vector1< core::Real > protocols::hybridization::FoldTreeHybridize::get_residue_weights_for_1mers | ( | core::pose::Pose & | pose) |
References frag_libs_small_, get_jump_anchors(), protocols::hybridization::get_num_residues_nonvirt(), get_residue_weights_for_big_frags(), and protocols::hybridization::TR().
Referenced by apply().
utility::vector1< core::Real > protocols::hybridization::FoldTreeHybridize::get_residue_weights_for_big_frags | ( | core::pose::Pose & | pose) |
References domain_assembly_, frag_weight_aligned_, protocols::hybridization::get_num_residues_nonvirt(), protocols::loops::Loops::has(), initial_template_index_, protocols::hybridization::renumber_with_pdb_info(), template_contigs_, template_poses_, and protocols::hybridization::TR().
Referenced by apply(), get_residue_weights_for_1mers(), and get_residue_weights_for_small_frags().
utility::vector1< core::Real > protocols::hybridization::FoldTreeHybridize::get_residue_weights_for_small_frags | ( | core::pose::Pose & | pose) |
References frag_libs_big_, get_jump_anchors(), protocols::hybridization::get_num_residues_nonvirt(), get_residue_weights_for_big_frags(), and protocols::hybridization::TR().
Referenced by apply().
|
inline |
void protocols::hybridization::FoldTreeHybridize::init | ( | void | ) |
References add_hetatm_, add_non_init_chunks_, auto_frag_insertion_weight_, big_frag_insertion_weight_, core::scoring::ScoreFunctionFactory::create_score_function(), domain_assembly_, filter_templates_, frag_1mer_insertion_weight_, frag_weight_aligned_, hetatm_cst_weight_, increase_cycles_, max_registry_shift_, native_, core::scoring::overlap_chainbreak, overlap_chainbreaks_, pairings_file_, core::import_pose::pose_from_pdb(), random_sheets_, set_scorefunction(), sheets_, small_frag_insertion_weight_, stage1_1_cycles_, stage1_2_cycles_, stage1_3_cycles_, stage1_4_cycles_, top_n_big_frag_, and top_n_small_frag_.
Referenced by FoldTreeHybridize().
|
private |
References core::pose::Pose::pdb_info(), and core::pose::Pose::total_residue().
Referenced by superimpose_strand_pairings_to_templates().
|
private |
References template_poses_, and template_wts_.
Referenced by filter_templates(), and FoldTreeHybridize().
void protocols::hybridization::FoldTreeHybridize::restore_original_foldtree | ( | core::pose::Pose & | pose) |
References foldtree_mover_, and protocols::hybridization::HybridizeFoldtreeDynamic::reset().
Referenced by apply().
void protocols::hybridization::FoldTreeHybridize::revert_loops_to_original | ( | core::pose::Pose & | pose, |
Loops | loops | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void protocols::hybridization::FoldTreeHybridize::set_loops_to_virt_ala | ( | core::pose::Pose & | pose, |
Loops | loops | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by init().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void protocols::hybridization::FoldTreeHybridize::setup_foldtree | ( | core::pose::Pose & | pose) |
References protocols::loops::Loops::add_loop(), add_non_init_chunks_, core::pose::Pose::conformation(), domain_assembly_, core::pose::Pose::fold_tree(), foldtree_mover_, frag_libs_small_, protocols::hybridization::get_num_residues_nonvirt(), initial_template_index_, protocols::hybridization::HybridizeFoldtreeDynamic::initialize(), core::pose::symmetry::is_symmetric(), core::pose::Pose::secstruct(), protocols::loops::Loops::sequential_order(), core::pose::Pose::set_secstruct(), protocols::loops::set_secstruct_from_psipred_ss2(), protocols::loops::Loop::set_start(), protocols::loops::Loop::set_stop(), protocols::loops::start, protocols::loops::stop, strand_pairings_template_indices_, strand_pairs_, core::conformation::symmetry::SymmetricConformation::Symmetry_Info(), template_chunks_, template_poses_, template_wts_, core::pose::Pose::total_residue(), and protocols::hybridization::TR().
Referenced by apply().
void protocols::hybridization::FoldTreeHybridize::setup_scorefunctions | ( | core::scoring::ScoreFunctionOP | score0, |
core::scoring::ScoreFunctionOP | score1, | ||
core::scoring::ScoreFunctionOP | score2, | ||
core::scoring::ScoreFunctionOP | score5, | ||
core::scoring::ScoreFunctionOP | score3 | ||
) |
References core::scoring::atom_pair_constraint, core::scoring::cbeta, core::scoring::cbeta_smooth, core::scoring::cen_env_smooth, core::scoring::cen_pair_smooth, core::scoring::cenpack, core::scoring::cenpack_smooth, core::scoring::env, core::scoring::hs_pair, core::scoring::linear_chainbreak, core::scoring::pair, scorefxn_, core::scoring::methods::EnergyMethodOptions::set_strand_strand_weights(), core::scoring::sheet, core::scoring::ss_pair, and core::scoring::vdw.
Referenced by apply().
|
private |
References core::id::BOGUS_ATOM_ID, floating_pairs_, core::pose::Pose::fold_tree(), initial_template_index_, core::pose::initialize_atomid_map(), map_pdb_info_number(), core::scoring::rms, strand_pairings_template_indices_, core::scoring::superimpose_pose(), template_poses_, templates_with_incorrect_strand_pairings_, and protocols::hybridization::TR().
Referenced by apply().
void protocols::hybridization::FoldTreeHybridize::translate_virt_to_CoM | ( | core::pose::Pose & | pose) |
|
private |
|
private |
Referenced by init(), and setup_foldtree().
|
private |
Referenced by auto_frag_insertion_weight(), and init().
|
private |
Referenced by apply(), auto_frag_insertion_weight(), and init().
|
private |
Referenced by apply().
|
private |
Referenced by get_residue_weights_for_big_frags(), init(), and setup_foldtree().
|
private |
Referenced by add_strand_pairings(), and init().
|
private |
Referenced by apply(), and superimpose_strand_pairings_to_templates().
|
private |
Referenced by get_jump_anchors(), restore_original_foldtree(), and setup_foldtree().
|
private |
Referenced by apply(), auto_frag_insertion_weight(), and init().
|
private |
Referenced by apply(), and FoldTreeHybridize().
|
private |
Referenced by apply(), FoldTreeHybridize(), and get_residue_weights_for_small_frags().
|
private |
Referenced by add_strand_pairings(), apply(), FoldTreeHybridize(), get_residue_weights_for_1mers(), and setup_foldtree().
|
private |
Referenced by get_residue_weights_for_big_frags(), and init().
|
private |
|
private |
|
private |
|
private |
Referenced by add_strand_pairings(), and get_pairings_jump_mover().
|
private |
Referenced by add_strand_pairing(), and add_strand_pairings().
|
private |
|
private |
|
private |
|
private |
Referenced by add_strand_pairings(), and init().
|
private |
Referenced by add_strand_pairings(), and init().
|
private |
Referenced by apply(), and setup_scorefunctions().
|
private |
Referenced by add_strand_pairings(), and init().
|
private |
Referenced by apply(), auto_frag_insertion_weight(), and init().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by get_pairings_residues(), and setup_foldtree().
|
private |
Referenced by add_strand_pairing(), and apply().
|
private |
|
private |
Referenced by add_strand_pairing(), filter_templates(), FoldTreeHybridize(), and get_residue_weights_for_big_frags().
|
private |
|
private |
Referenced by add_strand_pairing(), apply(), filter_templates(), FoldTreeHybridize(), normalize_template_wts(), and setup_foldtree().
|
private |
Referenced by add_strand_pairings(), and superimpose_strand_pairings_to_templates().
|
private |
Referenced by apply(), auto_frag_insertion_weight(), and init().
|
private |
Referenced by auto_frag_insertion_weight(), and init().