![]() |
Rosetta Protocols
2014.35
|
#include <ddGMover.hh>
Public Member Functions | |
ddGMover () | |
ddGMover (core::scoring::ScoreFunctionOP s, core::scoring::ScoreFunctionOP m, utility::vector1< core::chemical::AA > res_to_mutate) | |
virtual | ~ddGMover () |
void | neighbor_cutoff (double cutoff) |
void | restrict_to_nbrs (bool truefalse) |
void | score_function (core::scoring::ScoreFunctionOP s) |
void | set_minimization_score_function (core::scoring::ScoreFunctionOP s) |
void | num_iterations (int num) |
void | dump_pdbs (bool truefalse) |
void | debug_output (bool truefalse) |
void | is_interface_ddg (bool truefalse) |
void | wt_score_components (ObjexxFCL::FArray2D< double > wsc) |
void | wt_unbound_score_components (ObjexxFCL::FArray2D< double > wusc) |
void | mutant_score_components (ObjexxFCL::FArray2D< double > msc) |
void | residues_to_mutate (utility::vector1< core::chemical::AA > residues) |
void | set_min_cst (bool truefalse) |
void | set_mean (bool truefalse) |
void | set_min (bool truefalse) |
void | set_num_decoys_used_in_calculations (core::Real num_lowe_used) |
core::Real | neighbor_cutoff () |
bool | restrict_to_nbrs () |
core::scoring::ScoreFunctionOP | score_function () |
core::scoring::ScoreFunctionOP | minimization_score_function () |
int | num_iterations () |
bool | is_interface_ddg () |
ObjexxFCL::FArray2D< double > | wt_score_components () |
ObjexxFCL::FArray2D< double > | wt_unbound_score_components () |
ObjexxFCL::FArray2D< double > | mutant_score_components () |
utility::vector1 < core::chemical::AA > | residues_to_mutate () |
utility::vector1< double > | get_wt_min_score_components () |
utility::vector1< double > | get_wt_averaged_score_components () |
utility::vector1< double > | get_mutant_min_score_components () |
utility::vector1< double > | get_mutant_averaged_score_components () |
utility::vector1< double > | get_delta_energy_components () |
void | get_scorefunction_header (core::scoring::ScoreFunctionOP sfxn, utility::vector1< std::string > &components) |
std::string | mutation_label (pose::Pose const &pose) const |
double | get_wt_averaged_totals () |
double | get_wt_min_totals () |
double | get_mutant_averaged_totals () |
double | get_mutant_min_totals () |
double | ddG () |
virtual void | apply (core::pose::Pose &pose) |
virtual std::string | get_name () const |
Each derived class must specify its name. The class name. More... | |
bool | is_wt_calc_complete () |
bool | is_mutant_calc_complete () |
bool | is_properly_initialized (pose::Pose &pose) |
bool | get_min_cst () |
bool | use_mean () |
bool | use_min () |
core::Real | get_num_decoys_used_in_calculations () |
![]() | |
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 |
void | set_type (std::string const &setting) |
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 |
Return a clone of the Mover object. More... | |
virtual void | parse_my_tag (TagCOP tag, basic::datacache::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 |
Inform 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 |
Inform 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 |
Generates a new Mover object freshly created with the default ctor. More... | |
void | set_current_job (protocols::jobdist::BasicJobCOP job) |
jobdist::BasicJobCOP | get_current_job () const |
virtual void | show (std::ostream &output=std::cout) const |
Outputs details about the Mover, including current settings. More... | |
Additional Inherited Members | |
![]() | |
typedef utility::tag::TagCOP | TagCOP |
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. 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::ddg::ddGMover::ddGMover | ( | ) |
References aa_unk, chemical, constraints, and scoring.
protocols::ddg::ddGMover::ddGMover | ( | core::scoring::ScoreFunctionOP | s, |
core::scoring::ScoreFunctionOP | m, | ||
utility::vector1< core::chemical::AA > | res_to_mutate | ||
) |
References clone(), constraints, and scoring.
|
virtual |
|
virtual |
Implements protocols::moves::Mover.
References core::chemical::aa_unk, calculate_interface_unbound_energy(), core::pose::Pose::chain(), core::pose::Pose::constraint_set(), dbg_output_, dmp_pdb_, core::pose::Pose::dump_pdb(), core::pose::Pose::energies(), get_mutant_min_totals(), get_wt_min_totals(), initialize_task_level_behavior(), interface_ddg_, is_any_pdb_empty(), is_properly_initialized(), min_cst_, min_cst_set_mut_, min_cst_sfxn_, min_cst_sfxn_no_cst_weight_, minimize_with_constraints(), mutant_components_, mutant_unbound_components_, mutants_, mutation_label(), num_iterations_, basic::options::option, output_pdb, output_silent, q, relax_wildtype_structure(), core::pose::Pose::remove_constraints(), repack_cst_set_mut_, residues_to_mutate_, restrict_to_nbrhood_, scorefxn_, scoring, core::io::silent::SilentFileData::set_filename(), setup_packer_task_for_mutations(), out::file::silent, ss, store_energies(), core::scoring::Energies::total_energies(), core::pose::Pose::total_residue(), protocols::TR, user, core::scoring::EMapVector::weighted_string_of(), and core::io::silent::SilentFileData::write_silent_struct().
Referenced by protocols::ddG_main().
|
private |
References sum().
|
private |
References min, protocols::ddg::min_index(), num_decoys_used_in_calculations_, num_iterations_, sc, and total_score.
Referenced by get_mutant_averaged_score_components(), and get_wt_averaged_score_components().
|
private |
References core::pack::pack_rotamers().
Referenced by apply(), and relax_wildtype_structure().
double protocols::ddg::ddGMover::ddG | ( | ) |
References get_mutant_averaged_totals(), get_mutant_min_totals(), get_wt_averaged_totals(), get_wt_min_totals(), mean_, and min_.
Referenced by protocols::ddG_main().
void protocols::ddg::ddGMover::debug_output | ( | bool | truefalse | ) |
References dbg_output_.
Referenced by protocols::ddG_main().
void protocols::ddg::ddGMover::dump_pdbs | ( | bool | truefalse | ) |
References dmp_pdb_.
Referenced by protocols::ddG_main().
|
private |
utility::vector1< double > protocols::ddg::ddGMover::get_delta_energy_components | ( | ) |
References get_mutant_averaged_score_components(), get_mutant_min_score_components(), get_wt_averaged_score_components(), get_wt_min_score_components(), mean_, and min_.
Referenced by protocols::ddG_main().
utility::vector1< double > protocols::ddg::ddGMover::get_mutant_averaged_score_components | ( | ) |
References average_score_components(), interface_ddg_, mutant_components_, and mutant_unbound_components_.
Referenced by protocols::ddG_main(), get_delta_energy_components(), and get_mutant_averaged_totals().
double protocols::ddg::ddGMover::get_mutant_averaged_totals | ( | ) |
References get_mutant_averaged_score_components(), and sum().
Referenced by ddG().
utility::vector1< double > protocols::ddg::ddGMover::get_mutant_min_score_components | ( | ) |
References protocols::ddg::min_index(), min_score, mutant_components_, and total_score.
Referenced by get_delta_energy_components(), and get_mutant_min_totals().
double protocols::ddg::ddGMover::get_mutant_min_totals | ( | ) |
References get_mutant_min_score_components(), and sum().
|
virtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
core::Real protocols::ddg::ddGMover::get_num_decoys_used_in_calculations | ( | ) |
References num_decoys_used_in_calculations_.
void protocols::ddg::ddGMover::get_scorefunction_header | ( | core::scoring::ScoreFunctionOP | sfxn, |
utility::vector1< std::string > & | components | ||
) |
References begin, name_from_score_type(), and score_type_from_name().
utility::vector1< double > protocols::ddg::ddGMover::get_wt_averaged_score_components | ( | ) |
References average_score_components(), interface_ddg_, wt_components_, and wt_unbound_components_.
Referenced by protocols::ddG_main(), get_delta_energy_components(), and get_wt_averaged_totals().
double protocols::ddg::ddGMover::get_wt_averaged_totals | ( | ) |
References get_wt_averaged_score_components(), and sum().
Referenced by ddG().
utility::vector1< double > protocols::ddg::ddGMover::get_wt_min_score_components | ( | ) |
References protocols::ddg::min_index(), min_score, total_score, and wt_components_.
Referenced by get_delta_energy_components(), and get_wt_min_totals().
double protocols::ddg::ddGMover::get_wt_min_totals | ( | ) |
References get_wt_min_score_components(), and sum().
|
private |
|
private |
Experimental: add extra options controlling how the packer behaves
References core::pack::task::PackerTask::increase_multi_cool_annealer_history_size(), core::pack::task::PackerTask::initialize_extra_rotamer_flags_from_command_line(), packing::multi_cool_annealer, option, core::pack::task::PackerTask::or_multi_cool_annealer(), and user.
Referenced by apply(), and relax_wildtype_structure().
|
private |
determine if we need to do any work, or if we have checkpoints saving us from some work
References dmp_pdb_, mutation_label(), num_iterations_, basic::options::option, q, core::io::silent::SilentFileData::read_file(), core::io::silent::SilentFileData::read_tags_fast(), restrict_to_nbrhood_, scoring, and tags.
Referenced by apply().
Referenced by is_mutant_calc_complete(), and is_wt_calc_complete().
void protocols::ddg::ddGMover::is_interface_ddg | ( | bool | truefalse | ) |
References interface_ddg_.
Referenced by protocols::ddG_main().
bool protocols::ddg::ddGMover::is_interface_ddg | ( | ) |
References interface_ddg_.
bool protocols::ddg::ddGMover::is_mutant_calc_complete | ( | ) |
References is_complete(), and mutant_components_.
Referenced by protocols::ddG_main().
bool protocols::ddg::ddGMover::is_properly_initialized | ( | pose::Pose & | pose | ) |
References residues_to_mutate_, and core::pose::Pose::total_residue().
Referenced by apply().
bool protocols::ddg::ddGMover::is_wt_calc_complete | ( | ) |
References is_complete(), and wt_components_.
Referenced by protocols::ddG_main(), and relax_wildtype_structure().
core::scoring::ScoreFunctionOP protocols::ddg::ddGMover::minimization_score_function | ( | ) |
References min_cst_sfxn_.
|
private |
References core::scoring::ScoreFunction::clone(), core::scoring::fa_rep, core::optimization::MinimizerOptions::max_iter(), core::optimization::MinimizerOptions::nblist_auto_update(), basic::options::option, options, core::pack::pack_rotamers(), score_function(), and core::kinematics::MoveMap::set_bb().
Referenced by apply(), and relax_wildtype_structure().
void protocols::ddg::ddGMover::mutant_score_components | ( | ObjexxFCL::FArray2D< double > | msc | ) |
References mutant_components_.
ObjexxFCL::FArray2D< double > protocols::ddg::ddGMover::mutant_score_components | ( | ) |
References mutant_components_.
std::string protocols::ddg::ddGMover::mutation_label | ( | pose::Pose const & | pose | ) | const |
void protocols::ddg::ddGMover::neighbor_cutoff | ( | double | cutoff | ) |
References nbr_cutoff_.
Referenced by protocols::ddG_main().
Real protocols::ddg::ddGMover::neighbor_cutoff | ( | ) |
References nbr_cutoff_.
|
private |
References numeric::xyzVector< class >::distance_squared(), core::conformation::Residue::name1(), nbr_cutoff_, neighbors, core::pose::Pose::residue(), core::pose::Pose::total_residue(), and core::conformation::Residue::xyz().
Referenced by relax_wildtype_structure(), and setup_packer_task_for_mutations().
void protocols::ddg::ddGMover::num_iterations | ( | int | num | ) |
References num_iterations_.
Referenced by protocols::ddG_main().
int protocols::ddg::ddGMover::num_iterations | ( | ) |
References num_iterations_.
|
private |
|
private |
APL's attempts at refactoring this code.
Apply the protocol to the wild type species.
References core::chemical::aa_unk, protocols::scoring::Interface::calculate(), calculate_interface_unbound_energy(), core::pose::Pose::chain(), core::pose::Pose::constraint_set(), dbg_output_, protocols::scoring::Interface::distance(), dmp_pdb_, core::pose::Pose::dump_pdb(), core::pose::Pose::energies(), exit, initialize_rotamer_behavior_for_residue_level_task(), initialize_task_level_behavior(), interface_ddg_, protocols::scoring::Interface::is_interface(), is_wt_calc_complete(), min_cst_, min_cst_mut_types_, min_cst_set_mut_, min_cst_set_wt_, min_cst_sfxn_, min_cst_sfxn_no_cst_weight_, min_cst_wt_types_, minimize_with_constraints(), mutation_label(), natives_, neighborhood_of_mutations(), core::pack::task::PackerTask::nonconst_residue_task(), num_iterations_, option, basic::options::option, core::pack::task::ResidueLevelTask::prevent_repacking(), q, core::pose::Pose::remove_constraints(), repack_cst_set_mut_, repack_cst_set_wt_, repack_mut_types_, repack_wt_types_, residues_to_mutate_, restrict_to_nbrhood_, core::pack::task::PackerTask::restrict_to_repacking(), core::pack::task::ResidueLevelTask::restrict_to_repacking(), scorefxn_, scoring, core::io::silent::SilentFileData::set_filename(), setup_constraints(), setup_repack_constraints(), out::file::silent, ss, store_energies(), core::pack::task::PackerTask::temporarily_fix_everything(), core::scoring::Energies::total_energies(), core::pose::Pose::total_residue(), protocols::TR, user, core::scoring::EMapVector::weighted_string_of(), core::io::silent::SilentFileData::write_silent_struct(), wt_components_, and wt_unbound_components_.
Referenced by apply().
void protocols::ddg::ddGMover::residues_to_mutate | ( | utility::vector1< core::chemical::AA > | residues | ) |
References residues_to_mutate_.
Referenced by protocols::ddG_main().
utility::vector1< core::chemical::AA > protocols::ddg::ddGMover::residues_to_mutate | ( | ) |
References residues_to_mutate_.
void protocols::ddg::ddGMover::restrict_to_nbrs | ( | bool | truefalse | ) |
References restrict_to_nbrhood_.
Referenced by protocols::ddG_main().
bool protocols::ddg::ddGMover::restrict_to_nbrs | ( | ) |
References restrict_to_nbrhood_.
void protocols::ddg::ddGMover::score_function | ( | core::scoring::ScoreFunctionOP | s | ) |
References scorefxn_.
core::scoring::ScoreFunctionOP protocols::ddg::ddGMover::score_function | ( | ) |
References scorefxn_.
Referenced by minimize_with_constraints().
void protocols::ddg::ddGMover::set_mean | ( | bool | truefalse | ) |
References mean_.
Referenced by protocols::ddG_main().
void protocols::ddg::ddGMover::set_min | ( | bool | truefalse | ) |
References min_, and num_decoys_used_in_calculations_.
Referenced by protocols::ddG_main().
void protocols::ddg::ddGMover::set_min_cst | ( | bool | truefalse | ) |
References min_cst_.
Referenced by protocols::ddG_main().
void protocols::ddg::ddGMover::set_minimization_score_function | ( | core::scoring::ScoreFunctionOP | s | ) |
References core::scoring::ScoreFunction::clone(), min_cst_sfxn_, and min_cst_sfxn_no_cst_weight_.
void protocols::ddg::ddGMover::set_num_decoys_used_in_calculations | ( | core::Real | num_lowe_used | ) |
References num_decoys_used_in_calculations_.
|
private |
References core::pose::Pose::add_constraint(), core::conformation::Residue::atom_index(), atom_pair_constraint, core::pose::Pose::constraint_set(), cst, basic::options::OptionKeys::constraints::cst_file, core::conformation::Residue::is_protein(), length, nres, option, basic::options::option, core::scoring::constraints::ConstraintIO::read_constraints(), core::pose::Pose::remove_constraints(), core::pose::Pose::residue(), core::pose::Pose::total_residue(), protocols::TR, user, and core::conformation::Residue::xyz().
Referenced by relax_wildtype_structure().
|
private |
Initialize a packer task to reflect the residues that should be repacked based on the structure of the wildtype pose.
References core::chemical::aa_unk, initialize_rotamer_behavior_for_residue_level_task(), interface_ddg_, protocols::scoring::Interface::is_interface(), neighborhood_of_mutations(), core::pack::task::PackerTask::nonconst_residue_task(), core::pack::task::ResidueLevelTask::prevent_repacking(), residues_to_mutate_, core::pack::task::ResidueLevelTask::restrict_absent_canonical_aas(), restrict_to_nbrhood_, core::pack::task::ResidueLevelTask::restrict_to_repacking(), scoring, core::pose::Pose::total_residue(), and protocols::TR.
Referenced by apply().
|
private |
|
private |
sets up only rotamer constraints available during repacking
References core::chemical::aa_unk, atom_pair_constraint, core::pose::Pose::remove_constraints(), and residues_to_mutate_.
Referenced by relax_wildtype_structure().
|
private |
|
private |
References begin, core::pose::Pose::energies(), core::scoring::score_type_from_name(), score_type_from_name(), and core::pose::Pose::update_residue_neighbors().
Referenced by apply(), and relax_wildtype_structure().
Referenced by average(), get_mutant_averaged_totals(), get_mutant_min_totals(), get_wt_averaged_totals(), and get_wt_min_totals().
void protocols::ddg::ddGMover::wt_score_components | ( | ObjexxFCL::FArray2D< double > | wsc | ) |
References wt_components_.
Referenced by protocols::ddG_main().
ObjexxFCL::FArray2D< double > protocols::ddg::ddGMover::wt_score_components | ( | ) |
References wt_components_.
void protocols::ddg::ddGMover::wt_unbound_score_components | ( | ObjexxFCL::FArray2D< double > | wusc | ) |
References wt_unbound_components_.
Referenced by protocols::ddG_main().
ObjexxFCL::FArray2D< double > protocols::ddg::ddGMover::wt_unbound_score_components | ( | ) |
References wt_unbound_components_.
|
private |
report the score with this score function
|
private |
Referenced by apply(), debug_output(), and relax_wildtype_structure().
|
private |
Referenced by apply(), dump_pdbs(), is_any_pdb_empty(), and relax_wildtype_structure().
|
private |
|
private |
Referenced by ddG(), get_delta_energy_components(), set_mean(), and use_mean().
|
private |
Referenced by ddG(), get_delta_energy_components(), set_min(), and use_min().
|
private |
Referenced by apply(), get_min_cst(), relax_wildtype_structure(), and set_min_cst().
|
private |
Referenced by relax_wildtype_structure().
|
private |
Referenced by apply(), and relax_wildtype_structure().
|
private |
Referenced by relax_wildtype_structure().
|
private |
Referenced by apply(), minimization_score_function(), relax_wildtype_structure(), and set_minimization_score_function().
|
private |
minimize the score with this score function
Referenced by apply(), relax_wildtype_structure(), and set_minimization_score_function().
|
private |
Referenced by relax_wildtype_structure().
|
private |
|
private |
Referenced by apply(), and get_mutant_averaged_score_components().
|
private |
Referenced by apply().
|
private |
Referenced by relax_wildtype_structure().
|
private |
Referenced by neighbor_cutoff(), and neighborhood_of_mutations().
|
private |
|
private |
Referenced by apply(), average_score_components(), is_any_pdb_empty(), num_iterations(), and relax_wildtype_structure().
|
private |
Referenced by apply(), and relax_wildtype_structure().
|
private |
Referenced by relax_wildtype_structure().
|
private |
Referenced by relax_wildtype_structure().
|
private |
Referenced by relax_wildtype_structure().
|
private |
|
private |
Referenced by apply(), is_any_pdb_empty(), relax_wildtype_structure(), restrict_to_nbrs(), and setup_packer_task_for_mutations().
|
private |
Referenced by apply(), relax_wildtype_structure(), and score_function().
|
private |
|
private |
Referenced by get_wt_averaged_score_components(), relax_wildtype_structure(), and wt_unbound_score_components().