Skip to content

Commit db3ae9d

Browse files
committed
keep paths in xg
1 parent b6093db commit db3ae9d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/subcommand/benchmark_main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ int main_benchmark(int argc, char** argv) {
118118

119119
// Get an XG for it
120120
xg::XG xg_index;
121-
xg_index.from_handle_graph(vg);
121+
xg_index.from_path_handle_graph(vg);
122122

123123
// And an IndexedVG
124124
auto filename = temp_file::create();

src/subcommand/msga_main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ int main_msga(int argc, char** argv) {
564564

565565
if (debug) cerr << "building xg index" << endl;
566566
xgidx = new xg::XG();
567-
xgidx->from_handle_graph(*graph);
567+
xgidx->from_path_handle_graph(*graph);
568568

569569
if (debug) cerr << "building GCSA2 index" << endl;
570570
// Configure GCSA2 verbosity so it doesn't spit out loads of extra info

src/variant_adder.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ Alignment VariantAdder::smart_align(vg::VG& graph, pair<NodeSide, NodeSide> endp
719719

720720
// Generate an XG index
721721
xg::XG xg_index;
722-
xg_index.from_handle_graph(graph);
722+
xg_index.from_path_handle_graph(graph);
723723

724724
// Generate a GCSA2 index
725725
gcsa::GCSA* gcsa_index = nullptr;

src/variant_recall.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void genotype_svs(VG* graph,
7373
augment(graph, direct_ins, &transls);
7474

7575
XG xg_index;
76-
xg_index.from_handle_graph(*graph); // Index the graph so deconstruct can get path positions
76+
xg_index.from_path_handle_graph(*graph); // Index the graph so deconstruct can get path positions
7777
Deconstructor decon;
7878
CactusSnarlFinder finder(xg_index);
7979
SnarlManager snarl_manager = finder.find_snarls();

0 commit comments

Comments
 (0)