File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
assembler/src/common/modules/alignment/pacbio Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ class PacBioMappingIndex {
172172 std::vector<VertexId> second_edge = {g_.EdgeStart (b), g_.EdgeEnd (b)};
173173 size_t result = DISTANT_IN_GRAPH;
174174 for (auto v: first_edge) {
175- omnigraph::DijkstraHelper<debruijn_graph::Graph>::UnorientedBoundedDijkstra dijkstra (
175+ auto dijkstra (
176176 omnigraph::DijkstraHelper<debruijn_graph::Graph>::CreateUnorientedBoundedDijkstra (g_,
177177 DISTANT_IN_GRAPH,
178178 MAX_VERTICES_IN_DIJKSTRA_FILTERING
@@ -184,13 +184,9 @@ class PacBioMappingIndex {
184184 }
185185 }
186186 }
187- if (result < DISTANT_IN_GRAPH)
188- return true ;
189- else
190- return false ;
191-
192-
187+ return (result < DISTANT_IN_GRAPH);
193188 }
189+
194190 typename omnigraph::MappingPath<EdgeId> FilterShortAlignments (typename omnigraph::MappingPath<EdgeId> mapped_path) const {
195191 omnigraph::MappingPath<EdgeId> res;
196192 size_t length_cutoff = pb_config_.internal_length_cutoff ;
You can’t perform that action at this time.
0 commit comments