Repository navigation
Conversation
This was referenced Nov 24, 2026
Draft
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Reuse the existing path steps and their membership records when a caller has already created an equivalent replacement node. This API is specific to the in-memory PackedGraph. Callers supply two handles spelling the same oriented sequence. The method checks that the node IDs differ, the lengths match, and the destination has no steps. A circular path causes an immediate fallback without changes. Edge rewiring and removal of the source node remain with the caller.
A local test covered repeated and reverse visits, circular fallback, destruction of the original node, membership consistency, and serialization round-trip. The frozen chr21 stack included this change. No chromosome-scale peak RSS reduction is attributed to path-step transfer alone.
The integrated chr21 comparison covered 1,319 human haplotypes and passed 37/37 final-output comparisons against each of the paired control and the historical outputs in scope. See ComparativeGenomicsToolkit/cactus#2096 for test coverage and benchmark context.