Skip to content

multi index paths - #15

Open
d-callan wants to merge 2 commits into
tlemane:mainfrom
d-callan:feat/multi-index-paths
Open

multi index paths#15
d-callan wants to merge 2 commits into
tlemane:mainfrom
d-callan:feat/multi-index-paths

Conversation

@d-callan

Copy link
Copy Markdown

Add --index comma-separated path support. Multiple global index directories are merged into one logical index, enabling the BRC Galaxy deployment to pass 109 individual index directories in a single invocation.

Library: index::merge() combines sub-indexes from another global index, throwing on name collision.

CLI: is_kmq_index checker splits on commas and validates each path. main_query2 loads the first path, then merges each additional path.

Tests: 8 tests — merged vs single global (matrix+json), pa dataset, --names filtering, backwards compat, all-subindex output, collision error, invalid path rejection, reversed merge order.

Independent of memory gating. If both merge, memory gating's per-sub-index estimation will need to account for merged indexes.

@d-callan

Copy link
Copy Markdown
Author

(this is easier for tacc hosted indices than the registry thing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant