|
| ArcMatchesIndexed (const Sequence &seqA_, const Sequence &seqB_, const std::string &arcmatch_scores_file, int probability_scale, size_type max_length_diff, size_type max_diff_at_am, const MatchController &trace_controller, const AnchorConstraints &constraints) |
| construct with explicit arc match score list More...
|
|
| ArcMatchesIndexed (const RnaData &rnadataA, const RnaData &rnadataB, double min_prob, size_type max_length_diff, size_type max_diff_at_am, const MatchController &trace_controller, const AnchorConstraints &constraints) |
| construct from single base pair probabilities. More...
|
|
const ArcMatch::idx_type | invalid_am_index () const |
| the invalid arc match index More...
|
|
const ArcMatch::idx_type | am_index (const size_type &arcAIdx, const size_type &arcBIdx) const |
| Lookup arc match index by pair of arc indices. More...
|
|
const ArcMatch & | am_index (const Arc &arcA, const Arc &arcB) const |
| Lookup arc match by pair of arcs. More...
|
|
| ArcMatches (const Sequence &seqA_, const Sequence &seqB_, const std::string &arcmatch_scores_file, int probability_scale, size_type max_length_diff, size_type max_diff_at_am, const MatchController &trace_controller, const AnchorConstraints &constraints) |
| construct with explicit arc match score list More...
|
|
| ArcMatches (const RnaData &rnadataA, const RnaData &rnadataB, double min_prob, size_type max_length_diff, size_type max_diff_at_am, const MatchController &trace_controller, const AnchorConstraints &constraints) |
| construct from single base pair probabilities. More...
|
|
| ~ArcMatches () |
| clean up base pair objects
|
|
void | read_arcmatch_scores (const std::string &arcmatch_scores_file, int probability_scale) |
| Reads scores for arc matches. More...
|
|
void | write_arcmatch_scores (const std::string &arcmatch_scores_file, const Scoring &scoring) const |
|
const BasePairs & | get_base_pairsA () const |
| returns the base pairs object for RNA A
|
|
const BasePairs & | get_base_pairsB () const |
| returns the base pairs object for RNA B
|
|
bool | explicit_scores () const |
|
void | make_scores_explicit (const Scoring &scoring) |
| Make arcmatch scores explicit. More...
|
|
score_t | get_score (const ArcMatch &am) const |
|
size_type | num_arc_matches () const |
| total number of arc matches
|
|
const ArcMatch & | arcmatch (size_type idx) const |
| get arc match by its index
|
|
const ArcMatchIdxVec & | common_right_end_list (size_type i, size_type j) const |
| list of all arc matches that share the common right end (i,j)
|
|
const ArcMatchIdxVec & | common_left_end_list (size_type i, size_type j) const |
| list of all arc matches that share the common left end (i,j)
|
|
void | get_max_right_ends (size_type al, size_type bl, size_type *max_ar, size_type *max_br, bool no_lonely_pairs) const |
| get the maximal right ends of any arc match with left ends (al,bl). More...
|
|
void | get_min_right_ends (size_type al, size_type bl, size_type *min_ar, size_type *min_br) const |
|
bool | exists_inner_arc_match (const ArcMatch &am) const |
|
const ArcMatch & | inner_arc_match (const ArcMatch &am) const |
|
void | sort_right_adjacency_lists () |
|
const_iterator | begin () const |
| begin of arc matches vector
|
|
const_iterator | end () const |
| end of arc matches vector
|
|
class ArcMatches with additional mapping
Like ArcMatches, maintain the relevant arc matches and their scores. Additionally, build an index to support mapping from pairs of arcs to arc matches.