feat: integrate workflow cache for bowtie indexes#182
Draft
ReeceHoffmann wants to merge 9 commits into
Draft
Conversation
- derive cache keys from workflow-owned Bowtie2 index parameters - build and materialize reference and subtraction indexes through WorkflowCache - use the local VIR-2315 Virtool worktree for cache client support
- Restore cached indexes directly into the workflow target directory. - Use keyed local staging paths for cache misses to avoid deleting staged artifacts.
- Build and restore reference indexes into a dedicated workflow output folder. - Build and restore subtraction indexes into per-subtraction output folders consumed by elimination.
- fetch the bowtie2-build version inside cache param construction - keep cache key tests aligned with the live tool-version source
- assemble the reference FASTA from reference JSON before bowtie2-build - include the default-isolate source contract in reference index cache params
- inline cache hit and miss handling for reference and subtraction indexes - keep the shared Bowtie helper focused on invoking bowtie2-build - read reference FASTA input from index.json_path directly
- build subtraction indexes before elimination through a dedicated step - pass subtraction index paths into downstream elimination instead of rebuilding them
- keep workflow step definitions focused on orchestration - expose cache parameter helpers from workflow_pathoscope.utils for tests
- build reference index inputs from a temporary FASTA path - derive subtraction index paths from the shared indexes directory
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.
derive cache keys from workflow-owned Bowtie2 index parameters
build and materialize reference and subtraction indexes through WorkflowCache