Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
protocols::ligand_docking::LigandBaseProtocol Class Reference

Shared functionality for protocols that dock ligands. More...

#include <LigandBaseProtocol.hh>

Inheritance diagram for protocols::ligand_docking::LigandBaseProtocol:
Inheritance graph
[legend]

Public Member Functions

 LigandBaseProtocol ()
 
 ~LigandBaseProtocol () override
 
LigandBaseProtocolOP shared_from_this ()
 
core::scoring::ScoreFunctionOP get_scorefxn ()
 
core::scoring::ScoreFunctionCOP get_scorefxn () const
 
void apply (core::pose::Pose &pose) override
 Main Method. More...
 
std::string get_name () const override
 Each derived class must specify its name. The class name. More...
 
void restrain_protein_Calphas (core::pose::Pose &pose, utility::vector1< bool > const &is_restrained, core::scoring::func::FuncOP restr_func) const
 
void reorder_foldtree_around_mobile_regions (core::pose::Pose &pose, core::Size const &jump_id, utility::vector1< bool > const &mobile_bb, core::Size const &lig_id) const
 reorders a fold tree such that movement in the mobile regions will More...
 
void get_non_bb_clashing_rotamers (core::pose::Pose const &pose, core::Size seqpos, core::scoring::ScoreFunctionCOP scofx, utility::vector1< core::conformation::ResidueCOP > &accepted_rotamers) const
 
- 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 MoverOP clone () const
 Return a clone of the Mover object. 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...
 
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...
 
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
 
virtual void parse_my_tag (TagCOP tag, basic::datacache::DataMap &data)
 Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More...
 
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 Stringsinfo ()
 non-const accessor More...
 
virtual Strings const & info () const
 const accessor More...
 
virtual bool mover_provides_citation_info () const
 Does this mover provide information about how to cite it? More...
 
virtual utility::vector1
< basic::citation_manager::CitationCollectionCOP > 
provide_citation_info () const
 Provide the citation. More...
 
virtual bool mover_is_unpublished () const
 Does this mover indicate that it is unpublished (and, by extension, that the author should be included in publications resulting from it)? More...
 
virtual utility::vector1
< basic::citation_manager::UnpublishedModuleInfoCOP > 
provide_authorship_info_for_unpublished () const
 Provide a list of authors and their e-mail addresses, as strings. More...
 

Static Public Member Functions

static core::Size get_ligand_jump_id (core::pose::Pose const &pose)
 
static core::Size get_ligand_id (core::pose::Pose const &pose)
 Return the residue sequence number for our ligand. More...
 
static core::Size get_ligand_id (core::pose::Pose const &pose, core::Size jump_id)
 Return the residue sequence number for our ligand. More...
 
- 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...
 

Protected Member Functions

core::scoring::ScoreFunctionOP make_tweaked_scorefxn (std::string const &weights_tag, bool estat_exclude_protein, bool estat_upweight, bool hbonds_downweight)
 
core::Vector choose_desired_centroid (core::pose::Pose const &pose, core::Size jump_id, utility::vector1< core::Vector >)
 
void move_ligand_to_desired_centroid (core::pose::Pose &pose, core::Size jump_id, utility::vector1< core::Vector > start_from_pts)
 
void move_ligand_to_desired_centroid (core::pose::Pose &pose, core::Size jump_id, core::Vector desired_centroid)
 
core::kinematics::MoveMapOP make_movemap (core::pose::Pose const &pose, core::Size jump_id, core::Real sc_padding, bool include_all_rsds, bool include_backbone, bool include_ligands, bool include_water) const
 
core::pack::task::PackerTaskOP make_packer_task (core::pose::Pose const &pose, ObjexxFCL::FArray1D_bool const &allow_repack, bool ligand_protonation) const
 Shared machinery for the next two. More...
 
core::pack::task::PackerTaskOP make_packer_task (core::pose::Pose const &pose, int jump_id, core::Real sc_padding, bool include_all_rsds, bool ligand_protonation) const
 Receptor (interface?) plus ligand. More...
 
core::pack::task::PackerTaskOP make_packer_task_ligand_only (core::pose::Pose const &pose, int jump_id, bool ligand_protonation) const
 Just ligand, not the receptor. More...
 
void find_interface_rsds (core::pose::Pose const &pose, int jump_id, core::Real padding, ObjexxFCL::FArray1D_bool &is_interface) const
 
void find_interface_backbone (core::pose::Pose const &pose, int jump_id, core::Real cutoff_dist, utility::vector1< bool > &is_interface, utility::vector1< bool > &is_around_interface) const
 
core::scoring::constraints::ConstraintOP restrain_ligand_nbr_atom (core::pose::Pose &pose, core::Size lig_id, core::Real stddev_Angstroms) const
 
void setup_bbmin_foldtree (core::pose::Pose &pose, core::Size const &jump_id, core::Real cutoff_dist, core::Real stddev_Angstroms)
 
- 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...
 

Protected Attributes

bool use_soft_rep_
 
core::scoring::ScoreFunctionOP scorefxn_
 
core::scoring::ScoreFunctionOP hard_scorefxn_
 
core::scoring::ScoreFunctionOP soft_scorefxn_
 
core::Real sc_interface_padding_
 
core::Real bb_interface_cutoff_
 
core::pack::rotamer_set::UnboundRotamersOperationOP unboundrot_
 

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
 

Detailed Description

Shared functionality for protocols that dock ligands.

Includes score function setup, interface definitions, and ligand flexibility.

Constructor & Destructor Documentation

protocols::ligand_docking::LigandBaseProtocol::LigandBaseProtocol ( )
protocols::ligand_docking::LigandBaseProtocol::~LigandBaseProtocol ( )
overridedefault

Member Function Documentation

void protocols::ligand_docking::LigandBaseProtocol::apply ( core::pose::Pose )
overridevirtual

Main Method.

Implements protocols::moves::Mover.

Reimplemented in protocols::ligand_docking::LigandDockProtocol.

core::Vector protocols::ligand_docking::LigandBaseProtocol::choose_desired_centroid ( core::pose::Pose const &  pose,
core::Size  jump_id,
utility::vector1< core::Vector start_from_pts 
)
protected
void protocols::ligand_docking::LigandBaseProtocol::find_interface_backbone ( core::pose::Pose const &  pose,
int  jump_id,
core::Real  cutoff_dist,
utility::vector1< bool > &  is_interface,
utility::vector1< bool > &  is_around_interface 
) const
protected
void protocols::ligand_docking::LigandBaseProtocol::find_interface_rsds ( core::pose::Pose const &  pose,
int  jump_id,
core::Real  padding,
ObjexxFCL::FArray1D_bool &  is_interface 
) const
protected
core::Size protocols::ligand_docking::LigandBaseProtocol::get_ligand_id ( core::pose::Pose const &  pose)
static
core::Size protocols::ligand_docking::LigandBaseProtocol::get_ligand_id ( core::pose::Pose const &  pose,
core::Size  jump_id 
)
static

Return the residue sequence number for our ligand.

Only works with single residue ligands, really. Reconsider this in the future.

References core::kinematics::FoldTree::downstream_jump_residue(), core::pose::Pose::fold_tree(), core::conformation::Residue::is_polymer(), core::kinematics::FoldTree::partition_by_jump(), core::pose::Pose::residue(), and core::pose::Pose::size().

core::Size protocols::ligand_docking::LigandBaseProtocol::get_ligand_jump_id ( core::pose::Pose const &  pose)
static
std::string protocols::ligand_docking::LigandBaseProtocol::get_name ( ) const
overridevirtual

Each derived class must specify its name. The class name.

Implements protocols::moves::Mover.

Reimplemented in protocols::ligand_docking::LigandDockProtocol.

void protocols::ligand_docking::LigandBaseProtocol::get_non_bb_clashing_rotamers ( core::pose::Pose const &  pose,
core::Size  seqpos,
core::scoring::ScoreFunctionCOP  scofx,
utility::vector1< core::conformation::ResidueCOP > &  accepted_rotamers 
) const
core::scoring::ScoreFunctionOP protocols::ligand_docking::LigandBaseProtocol::get_scorefxn ( )
core::scoring::ScoreFunctionCOP protocols::ligand_docking::LigandBaseProtocol::get_scorefxn ( ) const

References scorefxn_.

core::kinematics::MoveMapOP protocols::ligand_docking::LigandBaseProtocol::make_movemap ( core::pose::Pose const &  pose,
core::Size  jump_id,
core::Real  sc_padding,
bool  include_all_rsds,
bool  include_backbone,
bool  include_ligands,
bool  include_water 
) const
protected
core::pack::task::PackerTaskOP protocols::ligand_docking::LigandBaseProtocol::make_packer_task ( core::pose::Pose const &  pose,
ObjexxFCL::FArray1D_bool const &  allow_repack,
bool  ligand_protonation 
) const
protected
core::pack::task::PackerTaskOP protocols::ligand_docking::LigandBaseProtocol::make_packer_task ( core::pose::Pose const &  pose,
int  jump_id,
core::Real  sc_padding,
bool  include_all_rsds,
bool  ligand_protonation 
) const
protected

Receptor (interface?) plus ligand.

References find_interface_rsds(), make_packer_task(), and core::pose::Pose::size().

core::pack::task::PackerTaskOP protocols::ligand_docking::LigandBaseProtocol::make_packer_task_ligand_only ( core::pose::Pose const &  pose,
int  jump_id,
bool  ligand_protonation 
) const
protected
core::scoring::ScoreFunctionOP protocols::ligand_docking::LigandBaseProtocol::make_tweaked_scorefxn ( std::string const &  weights_tag,
bool  estat_exclude_protein,
bool  estat_upweight,
bool  hbonds_downweight 
)
protected
void protocols::ligand_docking::LigandBaseProtocol::move_ligand_to_desired_centroid ( core::pose::Pose pose,
core::Size  jump_id,
utility::vector1< core::Vector start_from_pts 
)
protected
void protocols::ligand_docking::LigandBaseProtocol::move_ligand_to_desired_centroid ( core::pose::Pose pose,
core::Size  jump_id,
core::Vector  desired_centroid 
)
protected
void protocols::ligand_docking::LigandBaseProtocol::reorder_foldtree_around_mobile_regions ( core::pose::Pose pose,
core::Size const &  jump_id,
utility::vector1< bool > const &  mobile_bb,
core::Size const &  lig_id 
) const
core::scoring::constraints::ConstraintOP protocols::ligand_docking::LigandBaseProtocol::restrain_ligand_nbr_atom ( core::pose::Pose pose,
core::Size  lig_id,
core::Real  stddev_Angstroms 
) const
protected

Depends on atomtree topology; atomtree setup should be finished before calling this. Returns the newly created Constraint for future reference, but also adds it to the Pose.

References core::pose::Pose::add_constraint(), core::pose::Pose::atom_tree(), core::scoring::coordinate_constraint, core::pose::Pose::residue(), core::kinematics::AtomTree::root(), scorefxn_, and protocols::ligand_docking::TR().

Referenced by protocols::ligand_docking::LigandDockProtocol::apply().

void protocols::ligand_docking::LigandBaseProtocol::restrain_protein_Calphas ( core::pose::Pose pose,
utility::vector1< bool > const &  is_restrained,
core::scoring::func::FuncOP  restr_func 
) const
void protocols::ligand_docking::LigandBaseProtocol::setup_bbmin_foldtree ( core::pose::Pose pose,
core::Size const &  jump_id,
core::Real  cutoff_dist,
core::Real  stddev_Angstroms 
)
protected

This function actually alters both the pose, and the jump_id to be docked. The pose will have chainbreak variant types and distance constraints added.

References find_interface_backbone(), get_ligand_id(), reorder_foldtree_around_mobile_regions(), restrain_protein_Calphas(), and core::pose::Pose::size().

Referenced by protocols::ligand_docking::LigandDockProtocol::apply().

LigandBaseProtocolOP protocols::ligand_docking::LigandBaseProtocol::shared_from_this ( )
inline

Member Data Documentation

core::Real protocols::ligand_docking::LigandBaseProtocol::bb_interface_cutoff_
protected
core::scoring::ScoreFunctionOP protocols::ligand_docking::LigandBaseProtocol::hard_scorefxn_
protected
core::Real protocols::ligand_docking::LigandBaseProtocol::sc_interface_padding_
protected
core::scoring::ScoreFunctionOP protocols::ligand_docking::LigandBaseProtocol::scorefxn_
protected
core::scoring::ScoreFunctionOP protocols::ligand_docking::LigandBaseProtocol::soft_scorefxn_
protected
core::pack::rotamer_set::UnboundRotamersOperationOP protocols::ligand_docking::LigandBaseProtocol::unboundrot_
protected
bool protocols::ligand_docking::LigandBaseProtocol::use_soft_rep_
protected

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