|
vg
tools for working with variation graphs
|
#include <cluster.hpp>
Public Member Functions | |
| MEMChainModel (const vector< size_t > &aln_lengths, const vector< vector< MaximalExactMatch > > &matches, const function< int64_t(pos_t)> &approx_position, const function< unordered_map< path_handle_t, vector< pair< size_t, bool > > >(pos_t)> &path_position, const function< double(const MaximalExactMatch &, const MaximalExactMatch &)> &transition_weight, int band_width=10, int position_depth=1, int max_connections=20) | |
| void | score (const unordered_set< MEMChainModelVertex * > &exclude) |
| MEMChainModelVertex * | max_vertex (void) |
| vector< vector< MaximalExactMatch > > | traceback (int alt_alns, bool paired, bool debug) |
| void | display (ostream &out) |
| void | display_dot (ostream &out, vector< MEMChainModelVertex * > vertex_trace) |
| void | clear_scores (void) |
Public Attributes | |
| vector< MEMChainModelVertex > | model |
| unordered_map< path_handle_t, map< int64_t, vector< vector< MEMChainModelVertex >::iterator > > > | positions |
| set< vector< MEMChainModelVertex >::iterator > | redundant_vertexes |
| vg::MEMChainModel::MEMChainModel | ( | const vector< size_t > & | aln_lengths, |
| const vector< vector< MaximalExactMatch > > & | matches, | ||
| const function< int64_t(pos_t)> & | approx_position, | ||
| const function< unordered_map< path_handle_t, vector< pair< size_t, bool > > >(pos_t)> & | path_position, | ||
| const function< double(const MaximalExactMatch &, const MaximalExactMatch &)> & | transition_weight, | ||
| int | band_width = 10, | ||
| int | position_depth = 1, | ||
| int | max_connections = 20 ) |
| void vg::MEMChainModel::clear_scores | ( | void | ) |
| void vg::MEMChainModel::display | ( | ostream & | out | ) |
| void vg::MEMChainModel::display_dot | ( | ostream & | out, |
| vector< MEMChainModelVertex * > | vertex_trace ) |
| MEMChainModelVertex * vg::MEMChainModel::max_vertex | ( | void | ) |
| void vg::MEMChainModel::score | ( | const unordered_set< MEMChainModelVertex * > & | exclude | ) |
| vector< vector< MaximalExactMatch > > vg::MEMChainModel::traceback | ( | int | alt_alns, |
| bool | paired, | ||
| bool | debug ) |
| vector<MEMChainModelVertex> vg::MEMChainModel::model |
| unordered_map<path_handle_t, map<int64_t, vector<vector<MEMChainModelVertex>::iterator> > > vg::MEMChainModel::positions |
| set<vector<MEMChainModelVertex>::iterator> vg::MEMChainModel::redundant_vertexes |
1.17.0