Rosetta Protocols  2014.35
Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::protein_interface_design::filters::RmsdSimpleFilter Class Reference

#include <RmsdSimpleFilter.hh>

Public Member Functions

 RmsdSimpleFilter ()
 
 RmsdSimpleFilter (core::Real const threshold, core::pose::PoseOP reference_pose)
 
bool apply (core::pose::Pose const &pose) const
 Returns true if the given pose passes the filter, false otherwise. More...
 
protocols::filters::FilterOP clone () const
 
protocols::filters::FilterOP fresh_instance () const
 
void report (std::ostream &out, core::pose::Pose const &pose) const
 
core::Real report_sm (core::pose::Pose const &pose) const
 used to report filter internals through a score or silent file More...
 
core::Real compute (core::pose::Pose const &pose) const
 
virtual ~RmsdSimpleFilter ()
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data_map, protocols::filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &reference_pose)
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 Filter (Filter const &)
 
virtual ~Filter ()
 
virtual std::string get_type () const
 
std::string get_user_defined_name () const
 
void set_user_defined_name (std::string const &name)
 
virtual void clear ()
 used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More...
 
virtual void apply (core::io::serialization::PipeMap &pmap)
 
virtual void score (core::io::serialization::PipeMap &pmap)
 
virtual core::Real score (core::pose::Pose &pose)
 
virtual void parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks)
 
virtual std::string name () const
 

Private Member Functions

void superposition_transform (core::Size natoms, ObjexxFCL::FArray1_double const &weights, ObjexxFCL::FArray2_double &ref_coords, ObjexxFCL::FArray2_double &coords, numeric::xyzMatrix< core::Real > &RotM, numeric::xyzVector< core::Real > &TvecA, numeric::xyzVector< core::Real > &TvecB) const
 Superposition_transform wrapper (as in Alex Ford code protocols/toolbox/superimpose.[cc,hh]) More...
 
core::Real rmsd_bb (core::pose::Pose const &poseA, utility::vector1< core::Size > const &positions_to_alignA, core::pose::Pose const &poseB, utility::vector1< core::Size > const &positions_to_alignB) const
 Function that performs alignment of the protein BB on the selected aminoacids. Returns the RMSD, Uses a reference to the rotation Matrix and Translation Vector, Will fail if both poses are not protein <-This can be fixed by adding a list of the atoms to align to the function, but I am not doing it now. Will fail if the number of residues to align is not the same in the two poses. More...
 
core::Real dist_bb (core::pose::Pose const &poseA, utility::vector1< core::Size > const &positions_to_alignA, core::pose::Pose const &poseB, utility::vector1< core::Size > const &positions_to_alignB) const
 Returns the BB distance of two poses respect to indexes. More...
 

Private Attributes

core::Real threshold_
 
core::pose::PoseOP reference_pose_
 
core::Size target_chain_
 
core::Size do_align_
 
bool b_target_chain_
 

Additional Inherited Members

- Protected Attributes inherited from protocols::filters::Filter
std::string scorename_
 

Constructor & Destructor Documentation

protocols::protein_interface_design::filters::RmsdSimpleFilter::RmsdSimpleFilter ( )

References filters.

Referenced by clone(), and fresh_instance().

protocols::protein_interface_design::filters::RmsdSimpleFilter::RmsdSimpleFilter ( core::Real const  threshold,
core::pose::PoseOP  reference_pose 
)

References filters, reference_pose_, and threshold_.

protocols::protein_interface_design::filters::RmsdSimpleFilter::~RmsdSimpleFilter ( )
virtual

Member Function Documentation

bool protocols::protein_interface_design::filters::RmsdSimpleFilter::apply ( core::pose::Pose const &  pose) const
virtual

Returns true if the given pose passes the filter, false otherwise.

Implements protocols::filters::Filter.

References compute(), rmsd, threshold_, and protocols::protein_interface_design::filters::TR.

protocols::filters::FilterOP protocols::protein_interface_design::filters::RmsdSimpleFilter::clone ( ) const
virtual
core::Real protocols::protein_interface_design::filters::RmsdSimpleFilter::compute ( core::pose::Pose const &  pose) const
core::Real protocols::protein_interface_design::filters::RmsdSimpleFilter::dist_bb ( core::pose::Pose const &  poseA,
utility::vector1< core::Size > const &  positions_to_alignA,
core::pose::Pose const &  poseB,
utility::vector1< core::Size > const &  positions_to_alignB 
) const
private

Returns the BB distance of two poses respect to indexes.

References core::pose::Pose::residue(), and core::conformation::Residue::xyz().

Referenced by compute().

protocols::filters::FilterOP protocols::protein_interface_design::filters::RmsdSimpleFilter::fresh_instance ( ) const
virtual
void protocols::protein_interface_design::filters::RmsdSimpleFilter::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap data_map,
protocols::filters::Filters_map const &  ,
protocols::moves::Movers_map const &  ,
core::pose::Pose const &  reference_pose 
)
virtual
void protocols::protein_interface_design::filters::RmsdSimpleFilter::report ( std::ostream &  out,
core::pose::Pose const &  pose 
) const
virtual

Reimplemented from protocols::filters::Filter.

References compute(), and rmsd.

core::Real protocols::protein_interface_design::filters::RmsdSimpleFilter::report_sm ( core::pose::Pose const &  ) const
virtual

used to report filter internals through a score or silent file

Reimplemented from protocols::filters::Filter.

References compute(), and rmsd.

core::Real protocols::protein_interface_design::filters::RmsdSimpleFilter::rmsd_bb ( core::pose::Pose const &  poseA,
utility::vector1< core::Size > const &  positions_to_alignA,
core::pose::Pose const &  poseB,
utility::vector1< core::Size > const &  positions_to_alignB 
) const
private

Function that performs alignment of the protein BB on the selected aminoacids. Returns the RMSD, Uses a reference to the rotation Matrix and Translation Vector, Will fail if both poses are not protein <-This can be fixed by adding a list of the atoms to align to the function, but I am not doing it now. Will fail if the number of residues to align is not the same in the two poses.

References core::pose::Pose::residue(), superposition_transform(), and core::conformation::Residue::xyz().

Referenced by compute().

void protocols::protein_interface_design::filters::RmsdSimpleFilter::superposition_transform ( core::Size  natoms,
ObjexxFCL::FArray1_double const &  weights,
ObjexxFCL::FArray2_double &  ref_coords,
ObjexxFCL::FArray2_double &  coords,
numeric::xyzMatrix< core::Real > &  RotM,
numeric::xyzVector< core::Real > &  TvecA,
numeric::xyzVector< core::Real > &  TvecB 
) const
private

Superposition_transform wrapper (as in Alex Ford code protocols/toolbox/superimpose.[cc,hh])

References protocols::toolbox::fit_centered_coords(), and protocols::toolbox::reset_x().

Referenced by rmsd_bb().

Member Data Documentation

bool protocols::protein_interface_design::filters::RmsdSimpleFilter::b_target_chain_
private

Referenced by compute(), and parse_my_tag().

core::Size protocols::protein_interface_design::filters::RmsdSimpleFilter::do_align_
private

Referenced by compute(), and parse_my_tag().

core::pose::PoseOP protocols::protein_interface_design::filters::RmsdSimpleFilter::reference_pose_
private
core::Size protocols::protein_interface_design::filters::RmsdSimpleFilter::target_chain_
private

Referenced by compute(), and parse_my_tag().

core::Real protocols::protein_interface_design::filters::RmsdSimpleFilter::threshold_
private

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