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,10 +24,12 @@ process BAMTOOLS_SPLIT {
def stub = !args.contains("-stub") ? "-stub ${prefix}" : ""
"""
bamtools merge \\
${input_list} \\
| bamtools split \\
$stub \\
bamtools \\
merge \\
$input_list \\
| bamtools \\
split \\
-stub $prefix \\
$args
cat <<-END_VERSIONS > versions.yml