mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
feat: nicer syntax (#1286)
* feat: nicer syntax * feat: code polishing * feat: code polishing
This commit is contained in:
parent
d1f33be04f
commit
fafae11068
1 changed files with 2 additions and 1 deletions
|
@ -29,10 +29,11 @@ process MANTA_GERMLINE {
|
|||
script:
|
||||
def args = task.ext.args ?: ''
|
||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
def input_files = input.collect{"--bam ${it}"}.join(' ')
|
||||
def options_manta = target_bed ? "--callRegions $target_bed" : ""
|
||||
"""
|
||||
configManta.py \
|
||||
--bam ${input.join(' --bam ')} \
|
||||
${input_files} \
|
||||
--reference $fasta \
|
||||
--runDir manta \
|
||||
$options_manta \
|
||||
|
|
Loading…
Reference in a new issue