mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 13:02:09 -05:00
Change ternary expressions back to traditional format
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
parent
3188b8e30e
commit
26189f4132
1 changed files with 4 additions and 4 deletions
|
@ -31,8 +31,8 @@ process IVAR_VARIANTS {
|
||||||
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.containsKey('save_mpileup') ? "tee ${prefix}.mpileup |" : ""
|
def save_mpileup = params.save_mpileup ? "tee ${prefix}.mpileup |" : ""
|
||||||
def gff = params.containsKey('gff') ? "-g ${params.get('gff')}" : ""
|
def features = params.gff ? "-g $gff" : ""
|
||||||
"""
|
"""
|
||||||
samtools mpileup \\
|
samtools mpileup \\
|
||||||
$options.args2 \\
|
$options.args2 \\
|
||||||
|
|
Loading…
Reference in a new issue