mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-12 00:24:09 -05:00
Output log file for MultiQC
This commit is contained in:
parent
9098ba41c8
commit
89cd71309c
1 changed files with 4 additions and 2 deletions
|
@ -19,11 +19,12 @@ process IVAR_TRIM {
|
||||||
}
|
}
|
||||||
|
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(bam)
|
tuple val(meta), path(bam), path(bai)
|
||||||
path bed
|
path bed
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path("*.bam"), emit: bam
|
tuple val(meta), path("*.bam"), emit: bam
|
||||||
|
tuple val(meta), path('*.log'), emit: log
|
||||||
path "*.version.txt" , emit: version
|
path "*.version.txt" , emit: version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -34,7 +35,8 @@ process IVAR_TRIM {
|
||||||
$options.args \\
|
$options.args \\
|
||||||
-i $bam \\
|
-i $bam \\
|
||||||
-b $bed \\
|
-b $bed \\
|
||||||
-p $prefix
|
-p $prefix \\
|
||||||
|
> ${prefix}.ivar.log
|
||||||
|
|
||||||
ivar version | head -n1 2>&1 | sed 's/^.*iVar version //g' > ${software}.version.txt
|
ivar version | head -n1 2>&1 | sed 's/^.*iVar version //g' > ${software}.version.txt
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue