Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
protocols::ss_prediction::SS_predictor Class Reference

#include <SS_predictor.hh>

Inheritance diagram for protocols::ss_prediction::SS_predictor:
Inheritance graph
[legend]

Public Member Functions

 SS_predictor (std::string type)
 Reads in models for SS prediction etc. More...
 
 ~SS_predictor () override
 
utility::vector1
< utility::vector1< core::Real > > 
predict_ss (std::string fasta)
 

Private Member Functions

void load_models (std::string rd1_model_fl, std::string rd2_model_fl)
 
std::string get_window_aa (std::string fasta, core::SSize position)
 
utility::vector1< core::Realpredict_pos_rd1 (std::string window_aa)
 
utility::vector1< core::Realpredict_pos_rd2 (utility::vector1< utility::vector1< core::Real > > rd1_preds, core::SSize position, std::string fasta)
 
utility::vector1
< utility::vector1< core::Real > > 
predict_rd1 (std::string fasta)
 
utility::vector1
< utility::vector1< core::Real > > 
predict_rd2 (utility::vector1< utility::vector1< core::Real > > rd1_preds, std::string fasta)
 

Private Attributes

utility::libsvm::Svm_rosettaOP rd1_model
 
utility::libsvm::Svm_rosettaOP rd2_model
 
std::string ss_type
 

Static Private Attributes

static const core::Size WINDOW_SIZE = 15
 

Constructor & Destructor Documentation

protocols::ss_prediction::SS_predictor::SS_predictor ( std::string  type)

Reads in models for SS prediction etc.

protocols::ss_prediction::SS_predictor::~SS_predictor ( )
overridedefault

Member Function Documentation

string protocols::ss_prediction::SS_predictor::get_window_aa ( std::string  fasta,
core::SSize  position 
)
private
void protocols::ss_prediction::SS_predictor::load_models ( std::string  rd1_model_fl,
std::string  rd2_model_fl 
)
private
vector1< Real > protocols::ss_prediction::SS_predictor::predict_pos_rd1 ( std::string  window_aa)
private
vector1< Real > protocols::ss_prediction::SS_predictor::predict_pos_rd2 ( utility::vector1< utility::vector1< core::Real > >  rd1_preds,
core::SSize  position,
std::string  fasta 
)
private
vector1< vector1< Real > > protocols::ss_prediction::SS_predictor::predict_rd1 ( std::string  fasta)
private
vector1< vector1< Real > > protocols::ss_prediction::SS_predictor::predict_rd2 ( utility::vector1< utility::vector1< core::Real > >  rd1_preds,
std::string  fasta 
)
private
vector1< vector1< Real > > protocols::ss_prediction::SS_predictor::predict_ss ( std::string  fasta)

Member Data Documentation

utility::libsvm::Svm_rosettaOP protocols::ss_prediction::SS_predictor::rd1_model
private
utility::libsvm::Svm_rosettaOP protocols::ss_prediction::SS_predictor::rd2_model
private
std::string protocols::ss_prediction::SS_predictor::ss_type
private
const core::Size protocols::ss_prediction::SS_predictor::WINDOW_SIZE = 15
staticprivate

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