Rosetta  2021.16
 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::multistage_rosetta_scripts::cluster::metrics::SequenceMetric Class Reference

#include <SequenceMetric.hh>

Inheritance diagram for protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric:
Inheritance graph
[legend]

Public Member Functions

 SequenceMetric ()
 
 SequenceMetric (std::string sequence)
 
 ~SequenceMetric () override
 
platform::Real distance (SequenceMetric const &other) const
 Just counts number of mutations. Does not align. Might someday use BLOSUM62 to create different weights. More...
 
platform::Real distance (ClusterMetric const &other) const override
 Just counts number of mutations. Does not align. Might someday use BLOSUM62 to create different weights. More...
 
void analyze (core::pose::Pose const &, core::select::residue_selector::ResidueSelectorCOP selector)
 Store sequence from the pose. More...
 
void parse_my_tag (core::pose::Pose const &pose, utility::tag::TagCOP tag, basic::datacache::DataMap &datacache) override
 
std::string const & sequence () const
 
void set_sequence (std::string setting)
 
- Public Member Functions inherited from protocols::multistage_rosetta_scripts::cluster::ClusterMetric
 ClusterMetric ()
 
 ~ClusterMetric () override
 

Static Public Member Functions

static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 

Private Attributes

std::string sequence_
 

Constructor & Destructor Documentation

protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::SequenceMetric ( )
protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::SequenceMetric ( std::string  sequence)
protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::~SequenceMetric ( )
override

Member Function Documentation

void protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::analyze ( core::pose::Pose const &  pose,
core::select::residue_selector::ResidueSelectorCOP  selector 
)

Store sequence from the pose.

References core::pose::Pose::sequence(), and sequence_.

Referenced by parse_my_tag().

platform::Real protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::distance ( SequenceMetric const &  other) const

Just counts number of mutations. Does not align. Might someday use BLOSUM62 to create different weights.

References sequence(), and sequence_.

Referenced by distance().

platform::Real protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::distance ( ClusterMetric const &  other) const
inlineoverridevirtual

Just counts number of mutations. Does not align. Might someday use BLOSUM62 to create different weights.

Implements protocols::multistage_rosetta_scripts::cluster::ClusterMetric.

References distance().

void protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::parse_my_tag ( core::pose::Pose const &  pose,
utility::tag::TagCOP  tag,
basic::datacache::DataMap &  datacache 
)
overridevirtual
void protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
std::string const& protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::sequence ( ) const
inline

References sequence_.

Referenced by distance().

void protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::set_sequence ( std::string  setting)
inline

References sequence_.

Member Data Documentation

std::string protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::sequence_
private

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