Repository navigation
sash: skip VCF2MAF when PCGR skipped for high-variant-count samples (#52) - #59
Merged
Merged
Conversation
When bolt PASS VCF exceeds 450k variants, select_pcgr_variants raises RuntimeError and PCGR is skipped. Mark pcgr_pass_vcf, pcgr_dir, and pcgr_report as optional so the process exits 0 and non-PCGR outputs (stats, AFs, counts) are still published for gpgr. Filter the VCF2MAF input channel to skip samples where pcgr_pass_vcf was not emitted. Closes #52
This was referenced Jul 17, 2026
Merged
Draft
qclayssen
added a commit
that referenced
this pull request
Jul 31, 2026
…t samples BOLT_SMLV_SOMATIC_REPORT unconditionally moved output/pcgr/*.html, which does not exist when PCGR/VCF2MAF are skipped for samples exceeding the sash #59 variant-count cap (ADR-001) -- causing the whole process to hard-fail on exactly the samples that skip is meant to handle. Adds nf-test coverage: optional PCGR emits let the process exit 0 when skipped, and the vcf2maf_input_filter channel chain drops the skipped sample's null entry before it reaches VCF2MAF.
qclayssen
added a commit
that referenced
this pull request
Aug 7, 2026
Exercises the actual script: block against ghcr.io/umccr/bolt:0.3.2-pcgr, covering the mv output/pcgr/*.html guard fix (sash #59 / ADR-001) that stub-mode tests can't reach since -stub bypasses script: entirely.
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.
Summary
Part of sash 0.7.1 (bolt 0.3.1 → 0.3.2).
select_pcgr_variantsraisesRuntimeErrorand PCGR is skipped (bolt-side fix: Fix/52 pcgr skip high variant count bolt#32, merged intorelease/0.3.0/tagv0.3.2).pcgr_pass_vcf,pcgr_dir, andpcgr_reportasoptional: trueonBOLT_SMLV_SOMATIC_REPORTso the process exits 0 and non-PCGR outputs (stats, AFs, counts) still publish for gpgr.VCF2MAFinput channel to skip samples wherepcgr_pass_vcfwas not emitted.Related:
bcftools mergeguard, bolt change make hrd facultative for cancer report process #26)Closes #52.
Test plan
nextflow config .— parses cleanlynextflow run . --help— forces full DSL2 compilation of changed files, no syntax errorsnf-testexists forBOLT_SMLV_SOMATIC_REPORTor this part ofworkflows/sash.nf(known gap, noted in CHANGELOG) — not run against real cloud data as part of this PR