Rosetta Protocols  2014.35
Public Member Functions | Protected Attributes | Private Attributes | List of all members
protocols::frag_picker::scores::TalosSSSimilarity Class Reference

scores a fragment by secondary structure similarity More...

#include <TalosSSSimilarity.hh>

Public Member Functions

 TalosSSSimilarity (Size priority, Real lowest_acceptable_value, bool use_lowest, core::fragment::SecondaryStructureOP query_prediction, std::string prediction_name, Size sequence_length, utility::vector1< Size > &frag_sizes, Size longest_vall_chunk)
 
 ~TalosSSSimilarity ()
 
void do_caching (VallChunkOP)
 
void do_caching_simple (VallChunkOP)
 
bool cached_score (FragmentCandidateOP f, FragmentScoreMapOP empty_map)
 
void clean_up ()
 
virtual bool score (FragmentCandidateOP, FragmentScoreMapOP)
 Computes the score. More...
 
core::fragment::SecondaryStructureOP get_secondary_prediction ()
 returns the secondary structure porediction object that is used by this score More...
 
std::stringget_prediction_name ()
 
- Public Member Functions inherited from protocols::frag_picker::scores::CachingScoringMethod
 CachingScoringMethod (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string name)
 
- Public Member Functions inherited from protocols::frag_picker::scores::FragmentScoringMethod
 FragmentScoringMethod (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string name)
 
std::stringget_score_name ()
 Returns a name of this scoring method. More...
 
Size get_id ()
 Returns an integer index assigned to this scoring method by a scoring manager. More...
 
void set_id (Size id)
 Sets a new integer index for this scoring method. More...
 
Size get_priority ()
 Returns a priority of this scoring method. More...
 
Real get_min_allowed_score ()
 Returns the lowest acceptable score value for this scoring method. More...
 
bool get_use_lowest ()
 Returns the boolean choice on using the above lowest acceptable score value. More...
 
void set_min_allowed_score (Real lowest_acceptable_value)
 Sets a new value of the lowest acceptable score. More...
 

Protected Attributes

Matrix scores_
 
utility::vector1< Matrixcache_
 
- Protected Attributes inherited from protocols::frag_picker::scores::FragmentScoringMethod
Size id_
 
Size priority_
 
std::string name_
 
Real lowest_acceptable_value_
 
bool use_lowest_
 

Private Attributes

std::string prediction_name_
 
core::fragment::SecondaryStructureOP query_ss_
 
utility::vector1
< utility::vector1< Real > > 
raw_probs_
 
Size query_len_
 
Real H_mult_
 
Real L_mult_
 
Real E_mult_
 
std::string cached_scores_id_
 

Detailed Description

scores a fragment by secondary structure similarity

The score for each position is P(H), P(L) or P(E) if a vall residue is within Helix, Loop or Extended secondary stucture element, respectively. P(H), P(L) and P(E) denotes the probability that a given residue in a query is within Helix, Loop or Extended secondary stucture element. The total score of a fragment is a simple sum of all positions; for N-mer fragment is a sum of N terms
If P(H), P(L) and P(E) probabilities takes only 1.0 and 0.0 values, result of this scoring function should be the same as SecondaryIdentity, although the later one is faster.

Constructor & Destructor Documentation

protocols::frag_picker::scores::TalosSSSimilarity::TalosSSSimilarity ( Size  priority,
Real  lowest_acceptable_value,
bool  use_lowest,
core::fragment::SecondaryStructureOP  query_prediction,
std::string  prediction_name,
Size  sequence_length,
utility::vector1< Size > &  frag_sizes,
Size  longest_vall_chunk 
)
protocols::frag_picker::scores::TalosSSSimilarity::~TalosSSSimilarity ( )
inline

Member Function Documentation

bool protocols::frag_picker::scores::TalosSSSimilarity::cached_score ( FragmentCandidateOP  f,
FragmentScoreMapOP  empty_map 
)
virtual
void protocols::frag_picker::scores::TalosSSSimilarity::clean_up ( )
inlinevirtual
void protocols::frag_picker::scores::TalosSSSimilarity::do_caching ( VallChunkOP  chunk)
virtual
void protocols::frag_picker::scores::TalosSSSimilarity::do_caching_simple ( VallChunkOP  chunk)
std::string& protocols::frag_picker::scores::TalosSSSimilarity::get_prediction_name ( )
inline
core::fragment::SecondaryStructureOP protocols::frag_picker::scores::TalosSSSimilarity::get_secondary_prediction ( )
inline

returns the secondary structure porediction object that is used by this score

References query_ss_.

bool protocols::frag_picker::scores::TalosSSSimilarity::score ( FragmentCandidateOP  f,
FragmentScoreMapOP  empty_map 
)
virtual

Member Data Documentation

utility::vector1< Matrix > protocols::frag_picker::scores::TalosSSSimilarity::cache_
protected

Referenced by TalosSSSimilarity().

std::string protocols::frag_picker::scores::TalosSSSimilarity::cached_scores_id_
private
Real protocols::frag_picker::scores::TalosSSSimilarity::E_mult_
private

Referenced by TalosSSSimilarity().

Real protocols::frag_picker::scores::TalosSSSimilarity::H_mult_
private

Referenced by TalosSSSimilarity().

Real protocols::frag_picker::scores::TalosSSSimilarity::L_mult_
private

Referenced by TalosSSSimilarity().

std::string protocols::frag_picker::scores::TalosSSSimilarity::prediction_name_
private
Size protocols::frag_picker::scores::TalosSSSimilarity::query_len_
private

Referenced by TalosSSSimilarity().

core::fragment::SecondaryStructureOP protocols::frag_picker::scores::TalosSSSimilarity::query_ss_
private
utility::vector1< utility::vector1< Real > > protocols::frag_picker::scores::TalosSSSimilarity::raw_probs_
private

Referenced by TalosSSSimilarity().

Matrix protocols::frag_picker::scores::TalosSSSimilarity::scores_
protected

Referenced by TalosSSSimilarity().


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