1 #ifndef LOCARNA_STRAL_SCORE_HH 
    2 #define LOCARNA_STRAL_SCORE_HH 
   11 #include "sequence.hh" 
   18     template <
class T, 
size_t N>
 
   30         typedef std::vector<double> p_vec_t;
 
   45         double struct_weight_;
 
   46         double indel_opening_;
 
   51         init_prob_vecs(
const RnaData &rna,
 
   72                    double pf_struct_weight,
 
  101             return indel_opening_;
 
represent sparsified data of RNA ensemble
Definition: rna_data.hh:44
 
"Sequence View" of multiple alignment as array of column vectors
Definition: sequence.hh:17
 
Implements the stral-like scoring function.
Definition: stral_score.hh:29
 
double indel() const
Read gap extension cost.
Definition: stral_score.hh:110
 
StralScore(const RnaData &rnaA, const RnaData &rnaB, const Matrix< double > &sim_mat, const Alphabet< char, 4 > &alphabet, double pf_struct_weight, double indel_opening, double indel)
Definition: stral_score.cc:10
 
double indel_opening() const
Read gap opening cost.
Definition: stral_score.hh:100
 
double sigma(size_type i, size_type j) const
Compute STRAL-like similarity of two residues in the two RNAs.
Definition: stral_score.cc:30
 
void reverse()
Reverse the scoring.
Definition: stral_score.cc:81
 
Definition: aligner.cc:15
 
size_t size_type
general size type
Definition: aux.hh:120