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:01 +02:00 committed by GitHub
parent e9c44f3d85
commit 2d32267fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,11 +24,13 @@ process BAMTOOLS_SPLIT {
def stub = !args.contains("-stub") ? "-stub ${prefix}" : ""
"""
bamtools merge \\
${input_list} \\
| bamtools split \\
$stub \\
$args
bamtools \\
merge \\
$input_list \\
| bamtools \\
split \\
-stub $prefix \\
$args
cat <<-END_VERSIONS > versions.yml
"${task.process}":