Skip to content

Commit

Permalink
Improve output glob for optional alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
jfy133 committed Jul 27, 2023
1 parent d591036 commit 7c74c5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nf-core/centrifuge/centrifuge/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ process CENTRIFUGE_CENTRIFUGE {
output:
tuple val(meta), path('*report.txt') , emit: report
tuple val(meta), path('*results.txt') , emit: results
tuple val(meta), path('*.sam') , optional: true, emit: sam
tuple val(meta), path('*.{sam,tab}') , optional: true, emit: sam
tuple val(meta), path('*.mapped.fastq{,.1,.2}.gz') , optional: true, emit: fastq_mapped
tuple val(meta), path('*.unmapped.fastq{,.1,.2}.gz') , optional: true, emit: fastq_unmapped
path "versions.yml" , emit: versions
Expand Down
5 changes: 5 additions & 0 deletions modules/nf-core/centrifuge/centrifuge/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ output:
description: |
File containing classification results
pattern: "*.{results.txt}"
- sam:
type: file
description: |
Optional output file containing read alignments (SAM format )or a table of per-read hit information (TAB)s
pattern: "*.{sam,tab}"
- fastq_unmapped:
type: file
description: Unmapped fastq files
Expand Down

0 comments on commit 7c74c5c

Please sign in to comment.