Migrate file publishing from publishDir to centralized output {} block - I #784
Merged
Conversation
Member
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.5.1. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
|
maxulysse
reviewed
Mar 16, 2026
maxulysse
approved these changes
Mar 17, 2026
Member
maxulysse
left a comment
There was a problem hiding this comment.
Looking good to me, only changes in the snapshots are in the local subworkflows
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.
PR checklist
Replaces per-process publishDir config directives with a centralized publishing pattern. Each subworkflow now builds a ch_publish channel emitting [destination, value] tuples that bubble up to main.nf, where a single publish: + output {} block handles all file publishing.
The following published files are affected by this change (all verified to be present in the same location after the change)
results_subwfs/call_mobile_elements/justhusky_mobile_elements.vcf.gz
results_subwfs/call_mobile_elements/justhusky_mobile_elements.vcf.gz.tbi
results_subwfs/call_snv/genome/justhusky_snv.vcf.gz
results_subwfs/call_snv/genome/justhusky_snv.vcf.gz.tbi
results_subwfs/call_snv/mitochondria/justhusky_mitochondria.vcf.gz
results_subwfs/call_snv/mitochondria/justhusky_mitochondria.vcf.gz.tbi
results_subwfs/call_sv/genome/justhusky_sv.vcf.gz
results_subwfs/call_sv/genome/justhusky_sv.vcf.gz.tbi
results_subwfs/call_sv/mitochondria/earlycasualcaiman_LNUMBER1.breakpoint
results_subwfs/call_sv/mitochondria/earlycasualcaiman_mitochondria_deletions.txt
results_subwfs/call_sv/mitochondria/earlycasualcaiman_LNUMBER1.cluster
results_subwfs/call_sv/mitochondria/slowlycivilbuck_LNUMBER2.breakpoint
results_subwfs/call_sv/mitochondria/slowlycivilbuck_mitochondria_deletions.txt
results_subwfs/call_sv/mitochondria/hugelymodelbat_LNUMBER3.cluster
results_subwfs/call_sv/mitochondria/hugelymodelbat_LNUMBER3.breakpoint
results_subwfs/call_sv/mitochondria/hugelymodelbat_mitochondria_deletions.txt
results_subwfs/call_sv/mitochondria/slowlycivilbuck_LNUMBER2.cluster
results/alignment/earlycasualcaiman_mt_subsample.bam
results/alignment/earlycasualcaiman_mt_subsample.bam.bai
results/alignment/earlycasualcaiman_sorted_md.metrics.txt
results/alignment/earlycasualcaiman_sorted_md.bam
results/alignment/earlycasualcaiman_sorted_md.bam.bai
results/alignment/hugelymodelbat_mt_subsample.bam
results/alignment/hugelymodelbat_mt_subsample.bam.bai
results/alignment/hugelymodelbat_sorted_md.metrics.txt
results/alignment/hugelymodelbat_sorted_md.bam
results/alignment/hugelymodelbat_sorted_md.bam.bai
results/alignment/slowlycivilbuck_mt_subsample.bam
results/alignment/slowlycivilbuck_mt_subsample.bam.bai
results/alignment/slowlycivilbuck_sorted_md.metrics.txt
results/alignment/slowlycivilbuck_sorted_md.bam
results/alignment/slowlycivilbuck_sorted_md.bam.bai
And 159 files in qc_bam folder 😅
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile test_singleton,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).