|
| PFMatchProbs (const RnaData &rnaA, const RnaData &rnaB, const TraceController &trace_controller, const Matrix< double > &sim_mat, const Alphabet< char, 4 > &alphabet, double gap_opening, double gap_extension, double pf_struct_weight, double temp, const FreeEndgaps &free_endgaps, bool flag_local) |
| construct; run computation of pfs and probabilities More...
|
|
bool | fail () const |
|
const pf_score_t & | z () const |
|
| MatchProbs (std::istream &in, size_type lenA, size_type lenB) |
| construct from input stream (sparse format)
|
|
| EdgeProbs (std::istream &in, size_type lenA, size_type lenB) |
| construct from input stream (sparse format)
|
|
std::ostream & | write_sparse (std::ostream &out, double threshold) const |
|
size_type | lenA () const |
| get the length of the first sequence
|
|
size_type | lenB () const |
| get the length of the second sequence
|
|
double | prob (size_t i, size_t j) const |
| return the match probability for the two bases
|
|
template<class pf_score_t>
class LocARNA::PFMatchProbs< pf_score_t >
Provide match probabilities calculated by pf approach.
Similar to proba/probalign, use statistical-mechanics-like model. Assume alignments are Boltzman distributed, calc match probs via partition function. This approach supports Stral-like scoring (using pf_struct_weight as "alpha")