mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-13 05:13:09 +00: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:
|
||||
tuple val(meta), path(bam)
|
||||
tuple val(meta), path(bam), path(bai)
|
||||
path bed
|
||||
|
||||
output:
|
||||
tuple val(meta), path("*.bam"), emit: bam
|
||||
tuple val(meta), path('*.log'), emit: log
|
||||
path "*.version.txt" , emit: version
|
||||
|
||||
script:
|
||||
|
@ -34,7 +35,8 @@ process IVAR_TRIM {
|
|||
$options.args \\
|
||||
-i $bam \\
|
||||
-b $bed \\
|
||||
-p $prefix
|
||||
-p $prefix \\
|
||||
> ${prefix}.ivar.log
|
||||
|
||||
ivar version | head -n1 2>&1 | sed 's/^.*iVar version //g' > ${software}.version.txt
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue