![]() |
Rosetta
2021.16
|
Ligand Docking protocol using Genetic Algorithm. More...
#include <GALigandDock.hh>

Public Member Functions | |
| GALigandDock () | |
| void | apply (Pose &pose) override |
| main apply of GA ligand docking More... | |
| core::pose::PoseOP | get_additional_output () override |
| protocols::moves::MoverOP | clone () const override |
| Return a clone of the Mover object. More... | |
| protocols::moves::MoverOP | fresh_instance () const override |
| Generates a new Mover object freshly created with the default ctor. More... | |
| void | setup_params_for_runmode (std::string runmode) |
| parse options based on umbrella runmode option More... | |
| void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data) override |
| Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
| std::string | get_name () const override |
| Each derived class must specify its name. The class name. More... | |
Public Member Functions inherited from protocols::moves::Mover | |
| Mover () | |
| virtual MoverOP | create () |
| MoverCOP | get_self_ptr () const |
| MoverOP | get_self_ptr () |
| MoverCAP | get_self_weak_ptr () const |
| MoverAP | get_self_weak_ptr () |
| Mover (std::string const &type_name) | |
| sets the type for a mover; name_ has been removed (2010/05/14) More... | |
| 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... | |
| 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... | |
| 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... | |
| void | set_type (std::string const &setting) |
| Set the 'type' string. More... | |
| std::string | get_type () const |
| void | type (const std::string &type_in) |
| Set the 'type' string. More... | |
| std::string const & | type () const |
| Get the set 'type' string. More... | |
| 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 |
| void | set_current_job (protocols::jobdist::BasicJobCOP job) |
| jobdist::BasicJobCOP | get_current_job () const |
| virtual void | set_current_tag (std::string const &new_tag) |
| 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... | |
| virtual void | show (std::ostream &output=std::cout) const |
| Outputs details about the Mover, including current settings. More... | |
| virtual core::Real | last_proposal_density_ratio () |
| 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 void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
| Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Static Public Member Functions | |
| static std::string | mover_name () |
| static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Static Public Member Functions inherited from protocols::moves::Mover | |
| static std::string | name () |
| static void | register_options () |
| Overload this static method if you access options within the mover. More... | |
Private Member Functions | |
| core::pose::Pose | run_docking (LigandConformer const &gene_initial, GridScorerOP gridscore, LigandAligner &aligner, OutputStructureStore &outputs) |
| main function running on single ligand type More... | |
| utility::vector1< core::Size > | get_movable_scs (core::pose::Pose const &pose, GridScorerCOP gridscore, utility::vector1< core::Size > const &lig_resnos) const |
| void | idealize_and_repack_pose (core::pose::Pose &pose, utility::vector1< core::Size > const &movable_scs, utility::vector1< core::Size > const &lig_resnos) const |
| LigandAligner | setup_ligand_aligner (core::pose::Pose const &pose, utility::vector1< core::Size > const &lig_resnos, utility::vector1< core::Size > movable_scs_in_ref) const |
| generate object containing binding-motif search results More... | |
| LigandConformers | generate_perturbed_structures (LigandConformer const &gene_initial, GridScorerOP gridscorer, core::Size npool, LigandAligner aligner) const |
| generate an initial set of perturbed structures More... | |
| core::pose::PoseOP | make_starting_pose_for_virtual_screening (core::pose::Pose const &pose_apo, core::Size const &lig_resno, std::string const ligand_name) const |
| replace ligand to a new ideal res named by ligand_name More... | |
| void | load_initial_pool (LigandConformer const &gene_initial, LigandConformers &genes_sel) const |
| load the initial pool More... | |
| void | load_reference_pool (LigandConformer const &gene_initial, utility::vector1< ConstraintInfo > &ref_ligs) const |
| GAOptimizerOP | get_optimizer (LigandConformer const &gene_initial, GridScorerOP gridscorer) const |
| create and initialize the grid optimizer More... | |
| core::Real | calculate_free_receptor_score (core::pose::Pose pose, utility::vector1< core::Size > const &lig_resnos, utility::vector1< core::Size > const &moving_scs, bool simple=true) const |
| core::Real | calculate_free_ligand_score (core::pose::Pose pose, utility::vector1< core::Size > const &lig_resnos) const |
| void | apply_coord_cst_to_sctip (core::pose::PoseOP pose, utility::vector1< core::Size > const &moving_scs) const |
| void | premin_ligand (core::pose::Pose &pose, utility::vector1< core::Size > const &lig_resnos) const |
| pre cart-min ligand before docking More... | |
| void | final_exact_cartmin (core::Size nneigh, LigandConformer &gene, core::pose::Pose &pose) |
| final optimization cycle More... | |
| void | final_exact_scmin (LigandConformer const &gene, core::pose::Pose &pose) |
| alternate final optimization cycle More... | |
| void | final_cartligmin (LigandConformer const &gene, core::pose::Pose &pose) |
| alternate final optimization cycle More... | |
| void | final_solvate (LigandConformer &gene, core::pose::Pose &pose) |
| solvate pose before final relax More... | |
Additional Inherited Members | |
Public Types inherited from protocols::moves::Mover | |
| typedef utility::tag::TagCOP | TagCOP |
| typedef core::pose::Pose | Pose |
| typedef core::pose::PoseCOP | PoseCOP |
| typedef std::list< std::string > | Strings |
Protected Member Functions inherited from protocols::moves::Mover | |
| 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... | |
Ligand Docking protocol using Genetic Algorithm.
Runs ligand docking using pre-computed full-atom grid score, binding-motif search, and genetic algorithm search on Ligand & flexible sidechains at receptor conformations. This docking method supports full on-the-fly search of ligand conformation hence ligand "conformer" generation is not required.
| protocols::ligand_docking::ga_ligand_dock::GALigandDock::GALigandDock | ( | ) |
References core::scoring::get_score_function().
|
overridevirtual |
main apply of GA ligand docking
Implements protocols::moves::Mover.
References protocols::membrane::com(), core::conformation::Residue::connected_residue_at_resconn(), core::sequence::end, core::conformation::get_residue_from_name(), core::pose::get_resnum_list_ordered(), core::pose::getPoseExtraScore(), core::conformation::Residue::has_lower_connect(), core::conformation::Residue::has_upper_connect(), core::conformation::Residue::is_polymer(), core::conformation::Residue::is_virtual_residue(), protocols::sewing::data_storage::ligand, core::scoring::lk_ball, core::scoring::lk_ball_wtd, core::chemical::ResidueType::lower_connect_id(), protocols::mean_field::max(), core::pose::Pose::residue(), core::scoring::rms, protocols::hybridization::score, protocols::ligand_docking::ga_ligand_dock::LigandConformer::set_sample_ring_conformers(), protocols::loops::start, core::pose::Pose::total_residue(), protocols::ligand_docking::ga_ligand_dock::TR(), core::conformation::Residue::type(), and core::chemical::ResidueType::upper_connect_id().
|
private |
References protocols::cluster::calibur::aa, core::chemical::aa_arg, core::chemical::aa_asn, core::chemical::aa_asp, core::chemical::aa_cys, core::chemical::aa_gln, core::chemical::aa_glu, core::chemical::aa_his, core::chemical::aa_ile, core::chemical::aa_leu, core::chemical::aa_lys, core::chemical::aa_met, core::chemical::aa_phe, core::chemical::aa_ser, core::chemical::aa_thr, core::chemical::aa_trp, core::chemical::aa_tyr, core::chemical::aa_val, core::id::to_string(), protocols::ligand_docking::ga_ligand_dock::TR(), and protocols::kinmatch::xyz().
|
private |
|
private |
References core::conformation::Residue::aa(), core::chemical::aa_his, protocols::relax::FastRelax::apply(), core::scoring::Energies::clear(), core::pack::task::TaskFactory::create_packer_task(), core::pose::Pose::data(), core::pose::Pose::delete_residue_slow(), core::pose::Pose::energies(), protocols::antibody::design::relax, core::pose::Pose::residue(), protocols::relax::RelaxProtocolBase::set_movemap(), protocols::relax::FastRelax::set_movemap_disables_packing_of_fixed_chi_positions(), protocols::relax::RelaxProtocolBase::set_scorefxn(), protocols::relax::FastRelax::set_script_from_lines(), protocols::relax::RelaxProtocolBase::set_task_factory(), core::pose::Pose::size(), and protocols::ligand_docking::ga_ligand_dock::TR().
|
overridevirtual |
Return a clone of the Mover object.
clone is meant to return an OP'ed deep copy of this object. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function.
Reimplemented from protocols::moves::Mover.
|
private |
alternate final optimization cycle
References core::scoring::cart_bonded, core::scoring::cart_bonded_ring, protocols::ligand_docking::ga_ligand_dock::get_atomic_contacting_sidechains(), core::select::get_residue_set_from_subset(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_ids(), core::optimization::MinimizerOptions::max_iter(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::moving_scs(), core::scoring::pro_close, core::optimization::CartesianMinimizer::run(), core::pose::Pose::size(), and protocols::ligand_docking::ga_ligand_dock::TR().
|
private |
final optimization cycle
References core::pose::Pose::add_constraint(), protocols::relax::FastRelax::apply(), core::conformation::Residue::atom_index(), core::scoring::atom_pair_constraint, core::scoring::cart_bonded, core::scoring::coordinate_constraint, core::pose::Pose::fold_tree(), core::kinematics::FoldTree::get_jump_that_builds_residue(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::get_jumpid(), core::select::get_residue_set_from_subset(), core::conformation::Residue::is_protein(), core::chemical::ResidueType::is_water(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_ids(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::moving_scs(), core::chemical::ResidueType::nheavyatoms(), core::scoring::pro_close, protocols::antibody::design::relax, core::pose::Pose::residue(), core::pose::Pose::residue_type(), protocols::relax::RelaxProtocolBase::set_movemap(), protocols::relax::FastRelax::set_movemap_disables_packing_of_fixed_chi_positions(), protocols::relax::RelaxProtocolBase::set_scorefxn(), protocols::relax::FastRelax::set_script_from_lines(), core::pose::Pose::size(), core::pose::Pose::total_residue(), protocols::ligand_docking::ga_ligand_dock::TR(), protocols::kinmatch::xyz(), core::conformation::Residue::xyz(), and core::pose::Pose::xyz().
|
private |
alternate final optimization cycle
References protocols::relax::FastRelax::apply(), core::pack::task::TaskFactory::create_packer_task(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::get_jumpid(), core::select::get_residue_set_from_subset(), core::chemical::ResidueType::is_water(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_ids(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::moving_scs(), core::pack::pack_rotamers(), protocols::antibody::design::relax, core::pose::Pose::residue_type(), protocols::relax::RelaxProtocolBase::set_movemap(), protocols::relax::FastRelax::set_movemap_disables_packing_of_fixed_chi_positions(), protocols::relax::RelaxProtocolBase::set_scorefxn(), protocols::relax::FastRelax::set_script_from_lines(), core::pose::Pose::size(), core::pose::Pose::total_residue(), and protocols::ligand_docking::ga_ligand_dock::TR().
|
private |
solvate pose before final relax
References protocols::simple_moves::ExplicitWaterMover::apply(), core::pack::task::TaskFactory::create_packer_task(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_ids(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::moving_scs(), core::scoring::pointwater, protocols::simple_moves::ExplicitWaterMover::set_taskop(), and core::pose::Pose::total_residue().
|
overridevirtual |
Generates a new Mover object freshly created with the default ctor.
fresh_instance is meant to return a new object of this class, created with the default constructor. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function. This is used by the August 08 job distributor.
Reimplemented from protocols::moves::Mover.
|
private |
generate an initial set of perturbed structures
References protocols::ligand_docking::ga_ligand_dock::LigandAligner::apply(), protocols::ligand_docking::ga_ligand_dock::distance_fast(), core::sequence::end, protocols::ligand_docking::ga_ligand_dock::LigandAligner::estimate_nstruct_sample(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_ids(), protocols::ligand_docking::ga_ligand_dock::mutate(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::randomize(), core::scoring::rg, protocols::ligand_docking::ga_ligand_dock::LigandConformer::sample_conformation(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::score(), protocols::ligand_docking::ga_ligand_dock::LigandAligner::set_target(), protocols::loops::start, protocols::ligand_docking::ga_ligand_dock::LigandConformer::to_pose(), and protocols::ligand_docking::ga_ligand_dock::TR().
|
overridevirtual |
as this is a one->many mover, use this function to return multiple outputs from a single call to apply
Reimplemented from protocols::moves::Mover.
|
private |
References core::conformation::Residue::aa(), core::chemical::aa_ala, core::chemical::aa_gly, core::chemical::DISULFIDE, core::select::get_residue_set_from_subset(), core::pose::get_resnum_list(), core::chemical::ResidueTypeBase::has_variant_type(), core::conformation::Residue::is_protein(), protocols::mean_field::max(), core::simple_metrics::metrics::mean, core::conformation::Residue::natoms(), core::pose::Pose::residue(), core::pose::Pose::total_residue(), protocols::ligand_docking::ga_ligand_dock::TR(), core::conformation::Residue::type(), and core::conformation::Residue::xyz().
|
overridevirtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
|
private |
create and initialize the grid optimizer
References protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_ids(), and protocols::ligand_docking::ga_ligand_dock::LigandConformer::moving_scs().
|
private |
References core::conformation::Residue::chi(), core::pack::task::TaskFactory::create_packer_task(), core::optimization::MinimizerOptions::max_iter(), core::conformation::Residue::natoms(), core::pack::pack_rotamers(), core::pose::Pose::replace_residue(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::optimization::AtomTreeMinimizer::run(), core::pose::Pose::set_chi(), core::pose::Pose::set_xyz(), protocols::ligand_docking::ga_ligand_dock::TR(), and core::conformation::Residue::xyz().
|
private |
load the initial pool
References core::io::silent::SilentFileData::begin(), core::sequence::end, core::io::silent::SilentFileData::end(), core::import_pose::PDB_file, core::import_pose::pose_from_file(), core::io::silent::SilentFileData::read_file(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::score(), and protocols::ligand_docking::ga_ligand_dock::LigandConformer::update_conf().
|
private |
References core::io::silent::SilentFileData::begin(), core::sequence::end, core::io::silent::SilentFileData::end(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_ids(), core::import_pose::PDB_file, core::import_pose::pose_from_file(), core::io::silent::SilentFileData::read_file(), and protocols::ligand_docking::ga_ligand_dock::LigandConformer::to_pose().
|
private |
replace ligand to a new ideal res named by ligand_name
References core::pose::Pose::fold_tree(), core::kinematics::FoldTree::get_jump_that_builds_residue(), core::conformation::get_residue_from_name(), core::kinematics::Jump::get_translation(), core::pose::Pose::jump(), protocols::sewing::data_storage::ligand, and core::kinematics::Jump::set_translation().
|
static |
|
overridevirtual |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing.
Some movers need not be parsed, so we shouldn't force people to reimplement this method. However, we should be chatty about the fact that someone is using a RosettaScripts interface to a mover which didn't define parse_my_tag()
Reimplemented from protocols::moves::Mover.
References protocols::ligand_docking::ga_ligand_dock::GADockStageParams::elec_scale, core::pose::get_resnum_selector(), protocols::ligand_docking::ga_ligand_dock::GADockStageParams::maxiter, protocols::ligand_docking::ga_ligand_dock::GADockStageParams::packcycles, core::scoring::parse_score_function(), core::import_pose::PDB_file, protocols::ligand_docking::ga_ligand_dock::GADockStageParams::pmut, protocols::ligand_docking::ga_ligand_dock::GADockStageParams::pool, core::import_pose::pose_from_file(), protocols::ligand_docking::ga_ligand_dock::GADockStageParams::ramp_schedule, protocols::ligand_docking::ga_ligand_dock::GADockStageParams::repeats, protocols::ligand_docking::ga_ligand_dock::GADockStageParams::rmsthreshold, protocols::ligand_docking::ga_ligand_dock::GADockStageParams::smoothing, and protocols::ligand_docking::ga_ligand_dock::TR().
|
private |
pre cart-min ligand before docking
References core::scoring::cart_bonded, core::scoring::fa_atr, core::scoring::fa_rep, core::optimization::MinimizerOptions::max_iter(), core::scoring::pro_close, and core::optimization::CartesianMinimizer::run().
|
static |
|
private |
main function running on single ligand type
References core::scoring::all_atom_rmsd_nosuper(), core::scoring::automorphic_rmsd(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_ids(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::ligand_typename(), core::chemical::element::N, protocols::ligand_docking::ga_ligand_dock::OutputStructureStore::pop(), protocols::ligand_docking::ga_ligand_dock::OutputStructureStore::push(), core::scoring::rms, protocols::hybridization::score, core::conformation::Residue::set_chi(), protocols::ligand_docking::ga_ligand_dock::EntropyEstimator::set_niter(), core::pose::setPoseExtraScore(), core::id::to_string(), and protocols::ligand_docking::ga_ligand_dock::TR().
|
private |
generate object containing binding-motif search results
References core::conformation::get_residue_from_name(), protocols::sewing::data_storage::ligand, protocols::ligand_docking::ga_ligand_dock::LigandAligner::refine_input(), core::pose::Pose::residue(), protocols::ligand_docking::ga_ligand_dock::LigandAligner::set_pharmacophore_reference(), protocols::ligand_docking::ga_ligand_dock::LigandAligner::set_sf(), and protocols::ligand_docking::ga_ligand_dock::TR().
| void protocols::ligand_docking::ga_ligand_dock::GALigandDock::setup_params_for_runmode | ( | std::string | runmode | ) |
parse options based on umbrella runmode option
References protocols::ligand_docking::ga_ligand_dock::GADockStageParams::elec_scale, and protocols::ligand_docking::ga_ligand_dock::GADockStageParams::maxiter.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.7