Skip to content

Release/0.7.0 - #39

Merged
qclayssen merged 66 commits into
mainfrom
release/0.7.0
Jul 21, 2026
Merged

qclayssen merged 66 commits into
mainfrom
release/0.7.0

Conversation

@qclayssen

@qclayssen qclayssen commented Nov 7, 2025 •

Copy link
Copy Markdown
Collaborator

Release 0.7.0

Dependency updates

  • PCGR 1.4.1 → 2.2.5; reference data 20220203 → 20250314
  • CPSR 1.0.1 → 2.2.5
  • bolt 0.2.17 → 0.3.1 (governed GHCR image ghcr.io/umccr/bolt:0.3.1*)
  • sigrap personal dev image → 0.3.0 governed GHCR image ghcr.io/umccr/sigrap:0.3.0

New features

  • Hypermutation handling — chunked PCGR annotation + tiered variant selection for samples >450k PASS variants
  • Sigrap individual processes (mutpat, hrdetect)
  • VCF2MAF conversion
  • Input reference data as tar to reduce AWS staging time
  • MNV handling (sash MNVs with MutationalPattern #34)

Configuration changes

New memory label process_medium_memory for processes affected by hypermutation.
New parameters: pcgr_variant_chunk_size, XDG_CACHE_HOME.

Container pin rationale (bolt 0.3.1 + sigrap 0.3.0 governed)

Validated 2026-05-22 on 11 samples. Silver variant concordance 0.6.x ≈ 0.7.0, somatic PASS concordance 80.2% → 81.2%.

sigrap 0.3.0-dev-8 → ghcr.io/umccr/sigrap:0.3.0 — two commits between the dev image and the governed release: 87459d2 (namespace fix: sigrap::cosmic_signatures_2015 → bare name inside sig_workflow_run) and a version bump. Zero behavioral change confirmed across all 11 validation runs.

Cohort validation: Jijuan ran the PDAC cohort through sash 0.7.0 and validated the results.

Note on bolt 0.3.2

The bolt 0.3.2 bump (PCGR hypermutated skip fix, sash #52) and the sash-side VCF2MAF-skip logic are not part of this release. They ship in sash 0.7.1 — see PR #59 (now targeting release/0.7.1).

Links

Validation result comparison: biodaily #199

Associated PRs:

qclayssen and others added 16 commits October 2, 2025 12:58
* add ref data for pcgr 2.2.1

* add vep path pcgr

* edit refdata path for vep pcgr

* update pcgr report name name

* change path VEP ref data

* update container version

* remove VEP version

* change bolt version to test
* add process and config for vcf2maf

* fix path vep data

* remove duplicate

* fix and linting

* remove params from VCF2MAF process

* fix and simplify process

* add meta.key to channel

* add genome build as input

* add dockerfile

* Make sigrap (HRDetect, MutationalPatterns) individual process (#16)

* remove trace of genome build and hardcode in VCF2MAF

* use biocontainers container for vcf2maf

* remove string interpolation

* change to stub no version template

* revert deleted line
* change sigrap container

* change cancer report container

* latest bolt version

* update meta id sigrap

* bump sigrap

* remove print

* restaure metadata sigrap

* change multiqc container

* add param for pcgr chunck size

* add mutpat predefined dbs argument

* update container

* add back formating comment
* fix channel prepare reference

* refactor tarball extraction to use proper channel patterns. Follow oncoanalyser pattern for tarball extraction with .collect() and .map()

* adapte extraction tarball to match pcgr expected vep structure

* fix dir name extract tarball for VEP

* change to adapt strip compoment for pcgr data
@qclayssen qclayssen mentioned this pull request Nov 7, 2025
9 tasks done
@qclayssen
qclayssen force-pushed the release/0.7.0 branch 2 times, most recently from 2b45ef0 to ff85183 Compare December 22, 2025 04:53
qclayssen added 2 commits May 19, 2026 09:49
* allow explicit DRAGEN VCF paths in samplesheet

Add optional dragen_somatic_vcf and dragen_germline_vcf samplesheet
filetypes. When present, they override the path constructed from
tumor_id/normal_id. Enables cohorts where DRAGEN and oncoanalyser
outputs use different sample ID prefixes (e.g. APGI).

Add nf-tests covering default path construction and explicit override.

* chore: add TODO to document new dragen vcf filetypes in usage.md

* fix dragen relative path from sample sheet
…#54)

* fix process PAVE_SOMATIC  checks for MNVTAG in the VCF header before filtering

* fix MNVTAG filter: use variable input path and add nf-tests

- Replace cp with direct variable pass-through when MNVTAG absent (no
  disk copy, works on ICAv2 GDS and AWS Batch)
- Fix typo: mnv_filtred -> mnv_filtered
- Remove unnecessary intermediate file cleanup
- Add stub nf-tests with fixtures for with/without MNVTAG header cases
- Add .nf-test/ and .nf-test.log to .gitignore

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 32 out of 59 changed files in this pull request and generated 7 comments.

Comment thread subworkflows/local/prepare_reference.nf Outdated
Comment on lines +27 to +43
if (misc_tarball_inputs) {
ch_misc_data_inputs = Channel.fromList(misc_tarball_inputs)

DECOMP_MISC_DATA(ch_misc_data_inputs)

ch_misc_data_channel = DECOMP_MISC_DATA.out.extracted_dir
.collect()
.map { dir_list ->
assert dir_list.size() == misc_tarball_inputs.size()
def extracted_map = dir_list.collectEntries { dir ->
[(dir.getFileName().toString()): dir]
}
return addEnsemblFasta(createDataMap(params.miscdata_paths, params.ref_data_path) + extracted_map)
}
} else {
ch_misc_data_channel = Channel.value(addEnsemblFasta(ch_misc_data))
}
--snv ${smlv_somatic_vcf} \\
--rainfall \\
--strand-bias \\
--predefined-dbs-mbs \\
Comment on lines 23 to +39
@@ -30,10 +31,12 @@ process BOLT_SMLV_SOMATIC_ANNOTATE {
--annotations_dir ${annotations_dir} \\
--pon_dir ${pon_dir} \\
--pcgr_data_dir ${pcgr_data_dir} \\
--vep_dir ${vep_dir} \\
--pcgr_conda pcgr \\
--pcgrr_conda pcgrr \\
--threads ${task.cpus} \\
--output_dir output/
--output_dir output/ \\
${chunk_size_arg}
Comment on lines +38 to +41
cat <<-END_VERSIONS > versions.yml
"${task.process}":
vcf2maf: \$(vcf2maf.pl --help | grep -o 'vcf2maf [0-9.]*' | sed 's/vcf2maf //' || echo "1.6.22")
END_VERSIONS
Comment thread subworkflows/local/prepare_input.nf Outdated
Comment on lines +137 to +139
def chord_prediction_tsv = "${base}/chord/${meta.tumor_id}.chord.prediction.tsv"
if (!file(chord_prediction_tsv).exists()) {
log.error "CHORD prediction file not found for ${meta.id}: ${chord_prediction_tsv}"

output:
path "${meta.id}/", emit: extracted_dir
path '.command.*' , emit: command_files
Comment thread modules/local/sigrap/mutpat/main.nf Outdated
@@ -0,0 +1,41 @@
process SIGRAP_MUTPAT {
tag "${meta.id}"
label 'process_medium_memory', 'process_long'
qclayssen added 12 commits May 19, 2026 10:59
Resolve conflicts keeping 0.7.0 versions for all bolt containers and
version fields. Merge CHANGELOG to include 0.6.4 release from main.
- Fix label syntax: split 'process_medium_memory', 'process_long' into
  separate label directives (sigrap/mutpat, bolt/cancer_report, bolt/annotate)
- Remove unused args declaration in sigrap/mutpat and sigrap/hrdetect
- Fix ch_misc_data_channel to value channel with .first() so reference
  data is broadcast across all samples, not just the first
- Remove path '.command.*' from extract_tarball outputs (captures internal
  Nextflow debug files, not workflow results)
- Hardcode vcf2maf version to 1.6.22 (--help exits non-zero, unreliable)
- Fix trailing whitespace in prepare_input.nf CHORD path lines
- Document optional dragen_somatic_vcf/dragen_germline_vcf samplesheet
  fields with example
- Document pcgr_variant_chunk_size parameter for hypermutated samples
- Update citation version from 0.6.0 to 0.7.0
…vent PURPLE receiving mnv_filtered intermediate
Ships the graceful PCGR skip on samples whose per-chunk variant count
exceeds MAX_SOMATIC_VARIANTS, plus disable_estimates on chunked runs
where MSI/TMB on partial VCFs is meaningless. Variant tag suffixes
(-pcgr, -circos, -multiqc, -gpgr, -snpeff) preserved.
Moves hrdetect and mutpat modules off the personal docker.io/qclayssen
dev build to the official umccr ghcr release image.
@qclayssen qclayssen mentioned this pull request Jul 17, 2026
2 of 3 tasks
@qclayssen
qclayssen requested a review from scwatts July 17, 2026 04:07

@scwatts scwatts left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again nice work, trusting in your testing!

Comment thread subworkflows/local/prepare_reference.nf Resolved
qclayssen added a commit that referenced this pull request Jul 21, 2026
…ash #39)

Address Stephen's review: remove the dead else-branch that handled plain
directory miscdata_paths inputs. Tarballs are now the only supported mode
for pcgr_dir/vep_dir — a clear error is raised if no tarball entries are
found in miscdata_paths.

Adds nf-test for the tarball extraction path (prepare_reference subworkflow).

BREAKING CHANGE: miscdata_paths entries requiring extraction (pcgr_dir,
vep_dir) must be provided as .tar.gz/.tgz archives. Plain directory
inputs are no longer supported.
qclayssen added a commit that referenced this pull request Jul 21, 2026
…ash #39)

Address Stephen's review: remove the dead else-branch that handled plain
directory miscdata_paths inputs. Tarballs are now the only supported mode
for pcgr_dir/vep_dir — a clear error is raised if no tarball entries are
found in miscdata_paths.

Adds nf-test for the tarball extraction path (prepare_reference subworkflow).

BREAKING CHANGE: miscdata_paths entries requiring extraction (pcgr_dir,
vep_dir) must be provided as .tar.gz/.tgz archives. Plain directory
inputs are no longer supported.
…ash #39)

Address Stephen's review: remove the dead else-branch that handled plain
directory miscdata_paths inputs. Tarballs are now the only supported mode
for pcgr_dir/vep_dir — a clear error is raised if no tarball entries are
found in miscdata_paths.

Adds nf-test for the tarball extraction path (prepare_reference subworkflow).

BREAKING CHANGE: miscdata_paths entries requiring extraction (pcgr_dir,
vep_dir) must be provided as .tar.gz/.tgz archives. Plain directory
inputs are no longer supported.
qclayssen added a commit that referenced this pull request Jul 21, 2026
…ash #39)

Address Stephen's review: remove the dead else-branch that handled plain
directory miscdata_paths inputs. Tarballs are now the only supported mode
for pcgr_dir/vep_dir — a clear error is raised if no tarball entries are
found in miscdata_paths.

Adds nf-test for the tarball extraction path (prepare_reference subworkflow).

BREAKING CHANGE: miscdata_paths entries requiring extraction (pcgr_dir,
vep_dir) must be provided as .tar.gz/.tgz archives. Plain directory
inputs are no longer supported.
Reflects the current bolt 0.3.x tiered filtering approach (replaces
outdated bolt v0.2.18 select_variants description). Documents the two
silent failure modes in PCGR (Python-side variant drop + R-side HTML
skip) that justify the 450k threshold.

References bolt/docs/adr/001-max-somatic-variants-450k.md for the
detailed boundary analysis.
@qclayssen
qclayssen merged commit 4bc75f1 into main Jul 21, 2026
1 check passed
@qclayssen
qclayssen deleted the release/0.7.0 branch July 22, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants