mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-21 10:48:18 +00:00
[samtools] add optional csi output (#2064)
* [samtools] add optional csi output, when applicable * Remove empty line Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>
This commit is contained in:
parent
c13f2274fb
commit
d5d785b3d8
6 changed files with 16 additions and 0 deletions
|
@ -15,8 +15,10 @@ process SAMTOOLS_MERGE {
|
|||
output:
|
||||
tuple val(meta), path("${prefix}.bam") , optional:true, emit: bam
|
||||
tuple val(meta), path("${prefix}.cram"), optional:true, emit: cram
|
||||
tuple val(meta), path("*.csi") , optional:true, emit: csi
|
||||
path "versions.yml" , emit: versions
|
||||
|
||||
|
||||
when:
|
||||
task.ext.when == null || task.ext.when
|
||||
|
||||
|
|
|
@ -51,6 +51,10 @@ output:
|
|||
type: file
|
||||
description: File containing software versions
|
||||
pattern: "versions.yml"
|
||||
- csi:
|
||||
type: file
|
||||
description: BAM index file (optional)
|
||||
pattern: "*.csi"
|
||||
authors:
|
||||
- "@drpatelh"
|
||||
- "@yuukiiwa "
|
||||
|
|
|
@ -12,6 +12,7 @@ process SAMTOOLS_SORT {
|
|||
|
||||
output:
|
||||
tuple val(meta), path("*.bam"), emit: bam
|
||||
tuple val(meta), path("*.csi"), emit: csi, optional: true
|
||||
path "versions.yml" , emit: versions
|
||||
|
||||
when:
|
||||
|
|
|
@ -39,6 +39,10 @@ output:
|
|||
type: file
|
||||
description: File containing software versions
|
||||
pattern: "versions.yml"
|
||||
- csi:
|
||||
type: file
|
||||
description: BAM index file (optional)
|
||||
pattern: "*.csi"
|
||||
authors:
|
||||
- "@drpatelh"
|
||||
- "@ewels"
|
||||
|
|
|
@ -14,6 +14,7 @@ process SAMTOOLS_VIEW {
|
|||
output:
|
||||
tuple val(meta), path("*.bam") , emit: bam , optional: true
|
||||
tuple val(meta), path("*.cram"), emit: cram, optional: true
|
||||
tuple val(meta), path("*.csi") , emit: csi, optional: true
|
||||
path "versions.yml" , emit: versions
|
||||
|
||||
when:
|
||||
|
|
|
@ -51,6 +51,10 @@ output:
|
|||
type: file
|
||||
description: File containing software versions
|
||||
pattern: "versions.yml"
|
||||
- csi:
|
||||
type: file
|
||||
description: BAM index file (optional)
|
||||
pattern: "*.csi"
|
||||
authors:
|
||||
- "@drpatelh"
|
||||
- "@joseespinosa"
|
||||
|
|
Loading…
Reference in a new issue