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
|
@ -30,6 +30,7 @@ process IVAR_CONSENSUS {
|
|||
script:
|
||||
def software = getSoftwareName(task.process)
|
||||
def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
|
||||
def save_mpileup = params.save_mpileup ? "tee ${prefix}.mpileup |" : ""
|
||||
"""
|
||||
samtools mpileup \\
|
||||
-aa -A -d 0 -Q 0 \\
|
||||
|
|
Loading…
Reference in a new issue