Skip to content

Conversation

@qclayssen
Copy link
Collaborator

@qclayssen qclayssen commented Aug 18, 2025

Individual PR

ready

  • PCGR 2.2.1
  • Split process sigrap
  • Hypermutation handling
  • Add VCF2MAF slack
  • OA V2.2.0 support
  • Prepare PCGR reference data

Change outside of Sash

  • Add reference data to prod

  • Update gpgr

  • Update sigrap

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the SASH pipeline to version 0.7.0 with major updates including PCGR 2.2.1 integration, mutational signature analysis via SIGRAP, improved hypermutation handling, and VCF2MAF support for OncoAnalyser V2.2.0 compatibility.

Key Changes:

  • Integrated SIGRAP mutational signature analysis modules (hrdetect, mutpat, chord)
  • Updated PCGR from version 20220203 to 20250314 with separate VEP directory configuration
  • Updated BOLT container versions to support new PCGR and reporting features

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
workflows/sash.nf Main workflow integration of SIGRAP processes and updated cancer report inputs
subworkflows/local/sigrap_analysis.nf New subworkflow orchestrating SIGRAP chord, hrdetect, and mutpat analyses
subworkflows/local/prepare_input.nf Added CHORD prediction TSV input channel preparation
modules/local/sigrap/mutpat/main.nf New SIGRAP mutpat process for mutational pattern analysis
modules/local/sigrap/hrdetect/main.nf New SIGRAP hrdetect process for HRD detection
modules/local/sigrap/chord/main.nf New SIGRAP chord process wrapper
modules/local/bolt/sv_somatic/prioritise/main.nf Container version update to 0.3.0-dev-6
modules/local/bolt/smlv_somatic/report/main.nf Added VEP directory parameter and updated PCGR output filename
modules/local/bolt/smlv_somatic/annotate/main.nf Added VEP directory parameter
modules/local/bolt/smlv_germline/report/main.nf Added VEP directory parameter
modules/local/bolt/other/cancer_report/main.nf Added SIGRAP inputs and updated container version
conf/refdata.config Updated PCGR version and added VEP directory configuration
conf/modules.config Updated PCGR filename pattern and added SIGRAP publish directories
.github/workflows/docker-build.yml New workflow for automated Docker container builds

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


stub:
"""
mkdir -p output/
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

The stub creates an unused 'output/' directory. This should be removed as it doesn't match the actual output path pattern used in the script block.

Suggested change
mkdir -p output/

Copilot uses AI. Check for mistakes.
if (filename.equals('versions.yml')) {
return null
} else {
println "SIGRAP_MUTPAT - meta.key: '${meta.key}', filename: '${filename}'"
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Debug println statement should be removed before merging to production. This will generate console output on every file publication.

Suggested change
println "SIGRAP_MUTPAT - meta.key: '${meta.key}', filename: '${filename}'"

Copilot uses AI. Check for mistakes.
ch_sv_somatic_sv_vcf_out,
ch_sv_somatic_cnv_tsv_out,
)
.map { meta, smlv_vcf, sv_vcf, cnv_tsv ->
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Trailing whitespace detected at the end of this line. Should be removed for consistency.

Suggested change
.map { meta, smlv_vcf, sv_vcf, cnv_tsv ->
.map { meta, smlv_vcf, sv_vcf, cnv_tsv ->

Copilot uses AI. Check for mistakes.
id: meta.id,
tumor_id: meta.tumor_id,
]
return [meta_sigrap, smlv_vcf, sv_vcf, cnv_tsv]
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Trailing whitespace detected at the end of this line. Should be removed for consistency.

Suggested change
return [meta_sigrap, smlv_vcf, sv_vcf, cnv_tsv]
return [meta_sigrap, smlv_vcf, sv_vcf, cnv_tsv]

Copilot uses AI. Check for mistakes.
id: meta.id,
tumor_id: meta.tumor_id,
]
return [meta_sigrap, vcf]
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Trailing whitespace detected at the end of this line. Should be removed for consistency.

Suggested change
return [meta_sigrap, vcf]
return [meta_sigrap, vcf]

Copilot uses AI. Check for mistakes.
// channel: [ meta, hrdetect_json ]
ch_hrdetect_out = WorkflowSash.restoreMeta(SIGRAP_HRDETECT.out.hrdetect_json, ch_inputs)
ch_versions = ch_versions.mix(SIGRAP_HRDETECT.out.versions)

Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

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

Line contains only trailing whitespace. Should be removed for consistency.

Suggested change

Copilot uses AI. Check for mistakes.
@qclayssen
Copy link
Collaborator Author

duplicate #39

@qclayssen qclayssen closed this Nov 7, 2025
@qclayssen qclayssen deleted the 0.7.0 branch November 7, 2025 05:29
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.

3 participants