Conversation
There was a problem hiding this comment.
Pull request overview
This PR completes the migration of the Talos Nextflow pipeline to use Nextflow's WorkflowOutputs mechanism (publish: blocks and output {} directives) exclusively for all output file handling, removing publishDir directives from every process module. It also adds a nextflow_schema.json parameter schema and a ResummariseRawSubmissions resource configuration block.
Changes:
- Removes all
publishDir(and commented-out// publishDir) directives from every annotation, talos, and prep process module, delegating output publishing to the workflow-leveloutput {}blocks. - Removes
params.outdirfromnextflow.configand adds aResummariseRawSubmissionsresource requirements block. - Adds
nextflow_schema.jsondocumenting all pipeline parameters.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
nextflow.config |
Removes the outdir parameter; adds ResummariseRawSubmissions resource block |
nextflow_schema.json |
New file: JSON Schema describing all pipeline parameters |
nextflow/modules/talos/ValidateMOI/main.nf |
Removes publishDir directive |
nextflow/modules/talos/UnifiedPanelAppParser/main.nf |
Removes publishDir directive |
nextflow/modules/talos/StartupChecks/main.nf |
Removes commented-out publishDir directive |
nextflow/modules/talos/RunHailFiltering/main.nf |
Removes publishDir directive |
nextflow/modules/talos/HPOFlagging/main.nf |
Removes publishDir directive and associated comment |
nextflow/modules/talos/CreateTalosHTML/main.nf |
Removes publishDir directive |
nextflow/modules/prep/CreateRoiFromGff3/main.nf |
Condenses two-line comment to one line |
nextflow/modules/annotation/SplitVcf/main.nf |
Removes commented-out publishDir directive |
nextflow/modules/annotation/NormaliseAndRegionFilterVcf/main.nf |
Removes commented-out publishDir directive |
nextflow/modules/annotation/MergeVcfsWithBcftools/main.nf |
Removes commented-out publishDir directive |
nextflow/modules/annotation/AnnotatedVcfIntoMatrixTable/main.nf |
Removes publishDir directive |
nextflow/modules/annotation/AnnotateWithEchtvar/main.nf |
Removes commented-out publishDir directive |
nextflow/modules/annotation/AnnotateCsqWithBcftools/main.nf |
Removes commented-out publishDir directive |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 32 out of 32 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This PR has been open a while, and has various stacked branches. Trying to tidy this up now.
The line count is kinda hideous, but much of that is adding a new nextflow schema file, or indenting blocks of script inside a
script:parameter.This doesn't change any app functionality, it's more like a massive linting for the pre-existing NF workflow. This might be the last commit to main before switching to a dev-branch centred development workflow.
Fixes
script:declarationnextflow_schema.jsonfor Seqera/other platformsLinting
Channel.changed tochannel.("Channel" is deprecated in NextFlow according tonextflow lint)'1 GB'->1.GB)