Rosetta
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

◆ SequenceMetric() [1/2]

protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::SequenceMetric ( )

◆ SequenceMetric() [2/2]

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

◆ ~SequenceMetric()

protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::~SequenceMetric ( )
override

Member Function Documentation

◆ analyze()

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

◆ distance() [1/2]

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

◆ distance() [2/2]

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

◆ parse_my_tag()

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

◆ provide_xml_schema()

void protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

◆ sequence()

std::string const& protocols::multistage_rosetta_scripts::cluster::metrics::SequenceMetric::sequence ( ) const
inline

References sequence_.

Referenced by distance().

◆ set_sequence()

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

References sequence_.

Member Data Documentation

◆ sequence_

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

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