Update modules/bamtools/split/main.nf

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
Matthias De Smet 2022-04-22 19:36:08 +02:00 committed by GitHub
parent 2d32267fcd
commit da56a2d509
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,6 @@ process BAMTOOLS_SPLIT {
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"
def input_list = bam.collect{"-in $it"}.join(' ') def input_list = bam.collect{"-in $it"}.join(' ')
def stub = !args.contains("-stub") ? "-stub ${prefix}" : ""
""" """
bamtools \\ bamtools \\
merge \\ merge \\