Skip to content

Commit

Permalink
Merge pull request #200 from vgteam/unpacked-ref-overlay
Browse files Browse the repository at this point in the history
Odds and ends for reference path overlay
  • Loading branch information
jeizenga committed Jul 8, 2024
2 parents c8f6a12 + c6400f0 commit 6b871a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ OBJS += $(OBJ_DIR)/mapped_structs.o
OBJS += $(OBJ_DIR)/packed_graph.o
OBJS += $(OBJ_DIR)/path_position_overlays.o
OBJS += $(OBJ_DIR)/packed_path_position_overlay.o
OBJS += $(OBJ_DIR)/reference_path_overlay.o
OBJS += $(OBJ_DIR)/packed_reference_path_overlay.o
OBJS += $(OBJ_DIR)/path_subgraph_overlay.o
OBJS += $(OBJ_DIR)/subgraph_overlay.o
Expand Down
4 changes: 3 additions & 1 deletion bdsg/include/bdsg/overlays/overlay_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include "bdsg/overlays/vectorizable_overlays.hpp"
#include "bdsg/overlays/packed_path_position_overlay.hpp"
#include "bdsg/overlays/reference_path_overlay.hpp"
#include "bdsg/overlays/packed_reference_path_overlay.hpp"

namespace bdsg {
Expand All @@ -31,7 +32,8 @@ typedef OverlayHelper<PathPositionHandleGraph, PackedPositionOverlay, PathHandle
/// interface, but optimized for using the paths as reference coordinates, with
/// acceleration for some queries that might be slow in, for example, a
/// GBWTGraph.
typedef OverlayHelper<PathPositionHandleGraph, PackedReferencePathOverlay, PathHandleGraph> ReferencePathOverlayHelper;
typedef OverlayHelper<PathPositionHandleGraph, ReferencePathOverlay, PathHandleGraph> ReferencePathOverlayHelper;
typedef OverlayHelper<PathPositionHandleGraph, PackedReferencePathOverlay, PathHandleGraph> PackedReferencePathOverlayHelper;

/// Helper to ensure that a HandleGraph has the RankedHandleGraph interface.
// TODO: If we write a dedicated, less powerful RankedOverlay, use that here instead.
Expand Down

0 comments on commit 6b871a5

Please sign in to comment.