|
vg
tools for working with variation graphs
|
#include <banded_global_aligner.hpp>
Public Member Functions | |
| BABuilder (Alignment &alignment) | |
| ~BABuilder () | |
| void | update_state (const HandleGraph &graph, matrix_t matrix, const handle_t &node, int64_t read_idx, int64_t node_idx, bool empty_node_seq=false) |
| Add next step in traceback. More... | |
| void | finalize_alignment (const list< int64_t > &empty_prefix) |
| Call after concluding traceback to finish adding edits to alignment. More... | |
Private Member Functions | |
| void | finish_current_edit () |
| void | finish_current_node () |
Private Attributes | |
| Alignment & | alignment |
| list< Mapping > | node_mappings |
| list< Edit > | mapping_edits |
| matrix_t | matrix_state |
| bool | matching = false |
| id_t | current_node_id = 0 |
| string | current_node_sequence = "" |
| int64_t | edit_length = 0 |
| int64_t | edit_read_end_idx = 0 |
Translates a traceback path into a Path object and stores it in an Alignment object
| vg::BandedGlobalAligner< IntType >::BABuilder::BABuilder | ( | Alignment & | alignment | ) |
| vg::BandedGlobalAligner< IntType >::BABuilder::~BABuilder |
| void vg::BandedGlobalAligner< IntType >::BABuilder::finalize_alignment | ( | const list< int64_t > & | empty_prefix | ) |
Call after concluding traceback to finish adding edits to alignment.
|
private |
|
private |
| void vg::BandedGlobalAligner< IntType >::BABuilder::update_state | ( | const HandleGraph & | graph, |
| matrix_t | matrix, | ||
| const handle_t & | node, | ||
| int64_t | read_idx, | ||
| int64_t | node_idx, | ||
| bool | empty_node_seq = false |
||
| ) |
Add next step in traceback.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.17