fix command line, fix meta.yml

This commit is contained in:
Matthias De Smet 2022-04-19 15:31:39 +02:00
parent b35264e919
commit 07982d6cb1
2 changed files with 9 additions and 5 deletions

View file

@ -23,7 +23,10 @@ process BAMTOOLS_SPLIT {
def prefix = task.ext.prefix ?: "${meta.id}"
def input_list = bam.collect{"-in $it"}.join(' ')
if (bam_list) {
input += " -list $bam_list"
input_list += " -list $bam_list"
}
if (!args.contains("-stub")) {
args += " -stub ${prefix}"
}
"""

View file

@ -1,10 +1,11 @@
- name: bamtools split test_bamtools_split
command: nextflow run ./tests/modules/bamtools/split -entry test_bamtools_split -c ./tests/config/nextflow.config -c ./tests/modules/bamtools/split/nextflow.config
command: nextflow run tests/modules/bamtools/split -entry test_bamtools_split -c tests/config/nextflow.config
tags:
- bamtools/split
- bamtools
- bamtools/split
files:
- path: output/bamtools/test.paired_end.sorted.REF_chr22.bam
- path: output/bamtools/test.REF_chr22.bam
md5sum: b7dc50e0edf9c6bfc2e3b0e6d074dc07
- path: output/bamtools/test.paired_end.sorted.REF_unmapped.bam
- path: output/bamtools/test.REF_unmapped.bam
md5sum: e0754bf72c51543b2d745d96537035fb
- path: output/bamtools/versions.yml