diff --git a/src/window.cpp b/src/window.cpp index bc8d02b..e74f47b 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -87,14 +87,14 @@ bool Window::generate_consensus(std::shared_ptr alignment spoa::Alignment alignment; if (positions_[i].first < offset && positions_[i].second > sequences_.front().second - offset) { - alignment = alignment_engine->align_sequence_with_graph( - sequences_[i].first, sequences_[i].second, graph); + alignment = alignment_engine->align(sequences_[i].first, + sequences_[i].second, graph); } else { std::vector mapping; auto subgraph = graph->subgraph(positions_[i].first, positions_[i].second, mapping); - alignment = alignment_engine->align_sequence_with_graph( - sequences_[i].first, sequences_[i].second, subgraph); + alignment = alignment_engine->align( sequences_[i].first, + sequences_[i].second, subgraph); subgraph->update_alignment(alignment, mapping); } diff --git a/vendor/spoa b/vendor/spoa index 1121957..9dbcd7a 160000 --- a/vendor/spoa +++ b/vendor/spoa @@ -1 +1 @@ -Subproject commit 11219575bdcb356c57fb32f54cf23b8da2abc4f0 +Subproject commit 9dbcd7aa223c1e7fa789530c39fcd143d3886d3b