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

#include <TransformEnsemble.hh>

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

Public Member Functions

 TransformEnsemble ()
 
 TransformEnsemble (protocols::qsar::scoring_grid::GridSetCOP grid_set_prototype, utility::vector1< std::string > const &chains, core::Real const &box_size, core::Real const &move_distance, core::Real const &angle, core::Size const &cycles, core::Real const &temp)
 
 TransformEnsemble (TransformEnsemble const &other)
 
 ~TransformEnsemble () 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 parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data_map) override
 Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More...
 
core::Vector weighted_center (utility::vector1< core::conformation::UltraLightResidue > &residues)
 
void apply (core::pose::Pose &pose) override
 Main Method. More...
 
void translate_ligand (utility::vector1< core::conformation::UltraLightResidue > &ligand_residues, utility::vector1< core::conformation::UltraLightResidue > &reference_residues, core::Real distance)
 
void transform_ligand (utility::vector1< core::conformation::UltraLightResidue > &ligand_residues, utility::vector1< core::conformation::UltraLightResidue > &reference_residues)
 
void change_conformers (utility::vector1< core::conformation::UltraLightResidue > &ligand_residues, const utility::vector1< core::conformation::UltraLightResidue > &reference_residues)
 
void change_conformer (core::conformation::UltraLightResidue &ligand_residue, const core::conformation::UltraLightResidue &reference_residue, core::Size resid)
 
void dump_conformer (core::conformation::UltraLightResidue const &residue, utility::io::ozstream &output)
 
void print_xyz (core::Vector vector)
 
bool monte_carlo (core::Real &current, core::Real &last)
 
bool check_grid (utility::vector1< core::conformation::UltraLightResidue > &ligand_residues, core::Real distance=0)
 
core::Real score_ligands (utility::vector1< core::conformation::UltraLightResidue > &ligand_residues)
 Calculate unconstrained score for given ligands. More...
 
void make_multi_pose_grids (core::Vector center)
 Generate all extra grids. More...
 
core::Real convert_to_full_pose (core::pose::Pose &pose, core::Size &best_pose_count)
 copy the ligand into the desired receptor model and update conformation using the best model More...
 
std::string get_name () const override
 Each derived class must specify its name. The class name. More...
 
bool mover_provides_citation_info () const override
 Does this mover provide information about how to cite it? More...
 
utility::vector1
< basic::citation_manager::CitationCollectionCOP > 
provide_citation_info () const override
 Provide the citation. 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...
 
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
 
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_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 void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 
static std::string mover_name ()
 
- 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 Attributes

protocols::qsar::scoring_grid::GridSetCOP grid_set_prototype_
 
utility::vector1< std::pair
< std::string,
qsar::scoring_grid::GridSetCOP > > 
grid_sets_
 
std::map< std::string,
core::pose::Pose
grid_set_poses_
 
TransformEnsemble_info transform_info_
 
utility::vector1
< core::conformation::UltraLightResidue
best_ligands_
 
utility::vector1
< core::conformation::UltraLightResidue
ligand_residues_
 
utility::vector1
< core::conformation::UltraLightResidue
reference_residues_
 
utility::vector1
< core::conformation::UltraLightResidue
last_accepted_ligand_residues_
 
utility::vector1
< core::conformation::UltraLightResidue
last_accepted_reference_residues_
 
std::map< core::Size,
utility::vector1
< core::conformation::ResidueOP > > 
ligand_conformers_
 
std::string ensemble_proteins_ = ""
 
bool optimize_until_score_is_negative_ = false
 
bool output_sampled_space_ = false
 
bool use_conformers_ = true
 
bool use_main_model_ = false
 
std::string sampled_space_file_
 
core::Real initial_perturb_ = 0.0
 

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...
 

Constructor & Destructor Documentation

protocols::ligand_docking::TransformEnsemble::TransformEnsemble ( )
protocols::ligand_docking::TransformEnsemble::TransformEnsemble ( protocols::qsar::scoring_grid::GridSetCOP  grid_set_prototype,
utility::vector1< std::string > const &  chains,
core::Real const &  box_size,
core::Real const &  move_distance,
core::Real const &  angle,
core::Size const &  cycles,
core::Real const &  temp 
)
protocols::ligand_docking::TransformEnsemble::TransformEnsemble ( TransformEnsemble const &  other)
default
protocols::ligand_docking::TransformEnsemble::~TransformEnsemble ( )
overridedefault

Member Function Documentation

void protocols::ligand_docking::TransformEnsemble::apply ( core::pose::Pose )
overridevirtual
void protocols::ligand_docking::TransformEnsemble::change_conformer ( core::conformation::UltraLightResidue ligand_residue,
const core::conformation::UltraLightResidue reference_residue,
core::Size  resid 
)
void protocols::ligand_docking::TransformEnsemble::change_conformers ( utility::vector1< core::conformation::UltraLightResidue > &  ligand_residues,
const utility::vector1< core::conformation::UltraLightResidue > &  reference_residues 
)

References change_conformer().

bool protocols::ligand_docking::TransformEnsemble::check_grid ( utility::vector1< core::conformation::UltraLightResidue > &  ligand_residues,
core::Real  distance = 0 
)
protocols::moves::MoverOP protocols::ligand_docking::TransformEnsemble::clone ( ) const
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.

core::Real protocols::ligand_docking::TransformEnsemble::convert_to_full_pose ( core::pose::Pose pose,
core::Size best_pose_count 
)
void protocols::ligand_docking::TransformEnsemble::dump_conformer ( core::conformation::UltraLightResidue const &  residue,
utility::io::ozstream &  output 
)
protocols::moves::MoverOP protocols::ligand_docking::TransformEnsemble::fresh_instance ( ) const
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.

std::string protocols::ligand_docking::TransformEnsemble::get_name ( ) const
overridevirtual

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

Implements protocols::moves::Mover.

References mover_name().

void protocols::ligand_docking::TransformEnsemble::make_multi_pose_grids ( core::Vector  center)
bool protocols::ligand_docking::TransformEnsemble::monte_carlo ( core::Real current,
core::Real last 
)
std::string protocols::ligand_docking::TransformEnsemble::mover_name ( )
static
bool protocols::ligand_docking::TransformEnsemble::mover_provides_citation_info ( ) const
overridevirtual

Does this mover provide information about how to cite it?

Returns true.

Reimplemented from protocols::moves::Mover.

void protocols::ligand_docking::TransformEnsemble::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap &  data 
)
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::qsar::scoring_grid::parse_grid_set_from_tag(), core::import_pose::PDB_file, and core::import_pose::pose_from_file().

void protocols::ligand_docking::TransformEnsemble::print_xyz ( core::Vector  vector)
utility::vector1< basic::citation_manager::CitationCollectionCOP > protocols::ligand_docking::TransformEnsemble::provide_citation_info ( ) const
overridevirtual

Provide the citation.

Returns
A vector of citation collections. This allows the mover to provide citations for itself and for any modules that it invokes.

Also provides citations for movers called by the TransformEnsemble.

Reimplemented from protocols::moves::Mover.

void protocols::ligand_docking::TransformEnsemble::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
core::Real protocols::ligand_docking::TransformEnsemble::score_ligands ( utility::vector1< core::conformation::UltraLightResidue > &  ligand_residues)

Calculate unconstrained score for given ligands.

References grid_sets_, protocols::hybridization::score, and protocols::ligand_docking::transform_tracer().

Referenced by apply().

void protocols::ligand_docking::TransformEnsemble::transform_ligand ( utility::vector1< core::conformation::UltraLightResidue > &  ligand_residues,
utility::vector1< core::conformation::UltraLightResidue > &  reference_residues 
)
void protocols::ligand_docking::TransformEnsemble::translate_ligand ( utility::vector1< core::conformation::UltraLightResidue > &  ligand_residues,
utility::vector1< core::conformation::UltraLightResidue > &  reference_residues,
core::Real  distance 
)

References weighted_center().

Referenced by apply().

core::Vector protocols::ligand_docking::TransformEnsemble::weighted_center ( utility::vector1< core::conformation::UltraLightResidue > &  residues)

Member Data Documentation

utility::vector1<core::conformation::UltraLightResidue> protocols::ligand_docking::TransformEnsemble::best_ligands_
private

Referenced by apply(), and convert_to_full_pose().

std::string protocols::ligand_docking::TransformEnsemble::ensemble_proteins_ = ""
private

Referenced by apply().

std::map<std::string, core::pose::Pose> protocols::ligand_docking::TransformEnsemble::grid_set_poses_
private
protocols::qsar::scoring_grid::GridSetCOP protocols::ligand_docking::TransformEnsemble::grid_set_prototype_
private

Referenced by apply(), and make_multi_pose_grids().

utility::vector1<std::pair<std::string, qsar::scoring_grid::GridSetCOP> > protocols::ligand_docking::TransformEnsemble::grid_sets_
private
core::Real protocols::ligand_docking::TransformEnsemble::initial_perturb_ = 0.0
private

Referenced by apply().

utility::vector1<core::conformation::UltraLightResidue> protocols::ligand_docking::TransformEnsemble::last_accepted_ligand_residues_
private

Referenced by apply().

utility::vector1<core::conformation::UltraLightResidue> protocols::ligand_docking::TransformEnsemble::last_accepted_reference_residues_
private

Referenced by apply().

std::map<core::Size, utility::vector1< core::conformation::ResidueOP > > protocols::ligand_docking::TransformEnsemble::ligand_conformers_
private

Referenced by apply(), and change_conformer().

utility::vector1<core::conformation::UltraLightResidue> protocols::ligand_docking::TransformEnsemble::ligand_residues_
private

Referenced by apply().

bool protocols::ligand_docking::TransformEnsemble::optimize_until_score_is_negative_ = false
private

Referenced by apply().

bool protocols::ligand_docking::TransformEnsemble::output_sampled_space_ = false
private

Referenced by apply().

utility::vector1<core::conformation::UltraLightResidue> protocols::ligand_docking::TransformEnsemble::reference_residues_
private

Referenced by apply().

std::string protocols::ligand_docking::TransformEnsemble::sampled_space_file_
private

Referenced by apply().

TransformEnsemble_info protocols::ligand_docking::TransformEnsemble::transform_info_
private
bool protocols::ligand_docking::TransformEnsemble::use_conformers_ = true
private

Referenced by apply().

bool protocols::ligand_docking::TransformEnsemble::use_main_model_ = false
private

Referenced by convert_to_full_pose().


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