mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 04:52:09 -05:00
Add function to enable output of mpileup
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
parent
06770d5f02
commit
e9aa037e7b
1 changed files with 3 additions and 2 deletions
|
@ -28,8 +28,9 @@ process IVAR_CONSENSUS {
|
||||||
path "*.version.txt" , emit: version
|
path "*.version.txt" , emit: version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def software = getSoftwareName(task.process)
|
def software = getSoftwareName(task.process)
|
||||||
def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
|
def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
|
||||||
|
def save_mpileup = params.save_mpileup ? "tee ${prefix}.mpileup |" : ""
|
||||||
"""
|
"""
|
||||||
samtools mpileup \\
|
samtools mpileup \\
|
||||||
-aa -A -d 0 -Q 0 \\
|
-aa -A -d 0 -Q 0 \\
|
||||||
|
|
Loading…
Reference in a new issue