-
Notifications
You must be signed in to change notification settings - Fork 955
feat: Add emit statements to support Nextflow workflow outputs #9765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pinin4fjords
wants to merge
13
commits into
master
Choose a base branch
from
feat/workflow-outputs-emits
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
7391143 to
5970e8c
Compare
Add individual output channel emits to subworkflows to support the new Nextflow workflow outputs syntax (25.10+). These changes allow pipelines to publish outputs centrally rather than via publishDir directives. Updated subworkflows: - bam_dedup_stats_samtools_umitools: add tsv_edit_distance, tsv_per_umi, tsv_umi_per_position emits - bam_dedup_umi: add tsv_* emits when using umitools - fastq_fastqc_umitools_fastp: add umi_reads emit - fastq_fastqc_umitools_trimgalore: add umi_reads emit - fastq_qc_trim_filter_setstrandedness: add individual output channels for all QC/trim/filter outputs - fastq_remove_rrna: add individual output channels for each tool - quantify_pseudo_alignment: add tx2gene emit Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5970e8c to
d4e80bc
Compare
The lint_log emit was split into individual channels (lint_log_raw, lint_log_trimmed, lint_log_bbsplit, lint_log_ribo) for workflow outputs. Update test assertions to use lint_log_ribo directly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
SPPearce
reviewed
Jan 23, 2026
subworkflows/nf-core/quantify_pseudo_alignment/tests/main.nf.test.snap
Outdated
Show resolved
Hide resolved
SPPearce
reviewed
Jan 23, 2026
Contributor
SPPearce
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Several null.tx2gene.tsv files being generated now, when they weren't called that before?
Synced from nf-core/rnaseq#1679 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add process configs for CUSTOM_TX2GENE and TXIMETA_TXIMPORT to set proper file prefixes when meta is empty. Also sync SALMON_QUANT and KALLISTO_QUANT configs from nf-core/rnaseq#1679. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add additional emit channels to expose intermediate BAM files from the transcriptome deduplication pipeline, enabling workflow outputs support. New emits: - transcriptome_dedup_bam: BAM after deduplication, before name sort - transcriptome_sorted_bam: name-sorted BAM - transcriptome_sorted_bam_bai: coordinate-sorted dedup index - transcriptome_filtered_bam: paired-end filtered BAM Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add CUSTOM_TX2GENE and TXIMETA_TXIMPORT process configs to the test nextflow.config to fix null.tx2gene.tsv filename issue. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update stub to respect task.ext.prefix configuration, falling back to meta.id. This ensures stub tests produce consistent output filenames with the real script. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Align emit statements consistently in bam_dedup_umi and fastq_qc_trim_filter_setstrandedness subworkflows. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
SPPearce
approved these changes
Jan 26, 2026
Contributor
|
Failures are just singularity timeouts... |
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.
Summary
Add individual output channel emits to subworkflows to support the new Nextflow workflow outputs syntax (25.10+). These changes allow pipelines to publish outputs centrally rather than via
publishDirdirectives.This PR ports the subworkflow changes from nf-core/rnaseq#1679 to the modules repo.
Changes
Updated subworkflows:
tsv_edit_distance,tsv_per_umi,tsv_umi_per_positiontsv_edit_distance,tsv_per_umi,tsv_umi_per_position(when using umitools)umi_readsumi_readssortmerna_log,ribodetector_log,seqkit_stats,bowtie2_log,bowtie2_index,seqkit_prefixed,seqkit_convertedtx2geneTest plan
snapshot(workflow.out):🤖 Generated with Claude Code