Skip to content

Option to mark a GBZ as a subgraph of another#4897

Merged
jltsiren merged 2 commits intomasterfrom
mark-as-subgraph
May 7, 2026
Merged

Option to mark a GBZ as a subgraph of another#4897
jltsiren merged 2 commits intomasterfrom
mark-as-subgraph

Conversation

@jltsiren
Copy link
Copy Markdown
Contributor

@jltsiren jltsiren commented May 6, 2026

Changelog Entry

To be copied to the draft changelog by merger:

  • vg gbwt option --subgraph-of for marking a GBZ graph a subgraph of another.

Description

This adds vg gbwt option --subgraph-of for marking a GBZ graph a subgraph of another. It requires that the supergraph has already had its pggname (stable graph name) set.

Usage example:

# Set pggname in the supergraph, if necessary
vg gbwt --set-pggname -Z supergraph-input.gbz -g supergraph-output.gbz

#Set pggname and a subgraph relationship in the subgraph
vg gbwt --subgraph-of supergraph-output.gbz  -Z subgraph-input.gbz -g subgraph-output.gbz

@jltsiren jltsiren merged commit 817577f into master May 7, 2026
2 checks passed
@jltsiren jltsiren deleted the mark-as-subgraph branch May 7, 2026 20:45
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.

2 participants