Rosetta 3.4
Public Member Functions | Static Public Attributes
protocols::frag_picker::scores::SequenceIdentity Class Reference

SequenceIdentity score counts identical residues. More...

#include <SequenceIdentity.hh>

Inheritance diagram for protocols::frag_picker::scores::SequenceIdentity:
Inheritance graph
[legend]
Collaboration diagram for protocols::frag_picker::scores::SequenceIdentity:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SequenceIdentity (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string &fastaQuerySequence)
bool score (FragmentCandidateOP f, FragmentScoreMapOP empty_map)
bool describe_score (FragmentCandidateOP f, FragmentScoreMapOP empty_map, std::ostream &out)
 prints a detailed explanation how a fragment score has been computed

Static Public Attributes

static const int REWARD = 0
 will be added if the two residues are identical
static const int PENALTY = 1
 will be added if the two residues are NOT identical

Detailed Description

SequenceIdentity score counts identical residues.

Detailed: Resulting score is the number of identical residues
on corresponding positions in a vall fragment and a query sequence

Constructor & Destructor Documentation

protocols::frag_picker::scores::SequenceIdentity::SequenceIdentity ( Size  priority,
Real  lowest_acceptable_value,
bool  use_lowest,
std::string &  fastaQuerySequence 
) [inline]

Member Function Documentation

bool protocols::frag_picker::scores::SequenceIdentity::describe_score ( FragmentCandidateOP  f,
FragmentScoreMapOP  empty_map,
std::ostream &  out 
)

prints a detailed explanation how a fragment score has been computed

Detailed: besides extensive output, the method should return the same result as score()

References protocols::frag_picker::scores::FragmentScoringMethod::id_, protocols::frag_picker::scores::FragmentScoringMethod::lowest_acceptable_value_, PENALTY, REWARD, and protocols::frag_picker::scores::FragmentScoringMethod::use_lowest_.

bool protocols::frag_picker::scores::SequenceIdentity::score ( FragmentCandidateOP  f,
FragmentScoreMapOP  empty_map 
) [virtual]

Member Data Documentation

will be added if the two residues are NOT identical

Referenced by describe_score(), and score().

will be added if the two residues are identical

Referenced by describe_score(), and score().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines