Skip to content

sash: skip VCF2MAF when PCGR skipped for high-variant-count samples (#52) - #59

Merged
qclayssen merged 1 commit into
release/0.7.1from
fix/52-pcgr-skip-high-variant-count
Jul 22, 2026
Merged

qclayssen merged 1 commit into
release/0.7.1from
fix/52-pcgr-skip-high-variant-count

Conversation

@qclayssen

@qclayssen qclayssen commented Jul 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Part of sash 0.7.1 (bolt 0.3.1 → 0.3.2).

  • When bolt's PASS VCF exceeds 450k variants, select_pcgr_variants raises RuntimeError and PCGR is skipped (bolt-side fix: Fix/52 pcgr skip high variant count bolt#32, merged into release/0.3.0/tag v0.3.2).
  • This marks pcgr_pass_vcf, pcgr_dir, and pcgr_report as optional: true on BOLT_SMLV_SOMATIC_REPORT so the process exits 0 and non-PCGR outputs (stats, AFs, counts) still publish for gpgr.
  • Filters the VCF2MAF input channel to skip samples where pcgr_pass_vcf was not emitted.

Related:

Closes #52.

Test plan

  • nextflow config . — parses cleanly
  • nextflow run . --help — forces full DSL2 compilation of changed files, no syntax errors
  • No nf-test exists for BOLT_SMLV_SOMATIC_REPORT or this part of workflows/sash.nf (known gap, noted in CHANGELOG) — not run against real cloud data as part of this PR

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
@qclayssen
qclayssen changed the base branch from release/0.7.0 to release/0.7.1 July 17, 2026 02:05
@qclayssen
qclayssen merged commit e210eaf into release/0.7.1 Jul 22, 2026
1 check passed
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.
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