mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
fix command line, fix meta.yml
This commit is contained in:
parent
b35264e919
commit
07982d6cb1
2 changed files with 9 additions and 5 deletions
|
@ -23,7 +23,10 @@ process BAMTOOLS_SPLIT {
|
||||||
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(' ')
|
||||||
if (bam_list) {
|
if (bam_list) {
|
||||||
input += " -list $bam_list"
|
input_list += " -list $bam_list"
|
||||||
|
}
|
||||||
|
if (!args.contains("-stub")) {
|
||||||
|
args += " -stub ${prefix}"
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
- name: bamtools split test_bamtools_split
|
- 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:
|
tags:
|
||||||
- bamtools/split
|
|
||||||
- bamtools
|
- bamtools
|
||||||
|
- bamtools/split
|
||||||
files:
|
files:
|
||||||
- path: output/bamtools/test.paired_end.sorted.REF_chr22.bam
|
- path: output/bamtools/test.REF_chr22.bam
|
||||||
md5sum: b7dc50e0edf9c6bfc2e3b0e6d074dc07
|
md5sum: b7dc50e0edf9c6bfc2e3b0e6d074dc07
|
||||||
- path: output/bamtools/test.paired_end.sorted.REF_unmapped.bam
|
- path: output/bamtools/test.REF_unmapped.bam
|
||||||
md5sum: e0754bf72c51543b2d745d96537035fb
|
md5sum: e0754bf72c51543b2d745d96537035fb
|
||||||
|
- path: output/bamtools/versions.yml
|
||||||
|
|
Loading…
Reference in a new issue