mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00: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
|
@ -29,10 +29,10 @@ process IVAR_VARIANTS {
|
|||
path "*.version.txt" , emit: version
|
||||
|
||||
script:
|
||||
def software = getSoftwareName(task.process)
|
||||
def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
|
||||
def save_mpileup = params.containsKey('save_mpileup') ? "tee ${prefix}.mpileup |" : ""
|
||||
def gff = params.containsKey('gff') ? "-g ${params.get('gff')}" : ""
|
||||
def software = getSoftwareName(task.process)
|
||||
def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
|
||||
def save_mpileup = params.save_mpileup ? "tee ${prefix}.mpileup |" : ""
|
||||
def features = params.gff ? "-g $gff" : ""
|
||||
"""
|
||||
samtools mpileup \\
|
||||
$options.args2 \\
|
||||
|
|
Loading…
Reference in a new issue