2021-02-08 14:16:51 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { BCFTOOLS_ISEC } from '../../../../software/bcftools/isec/main.nf' addParams( options: ['args': '--nfiles +2 --output-type z --no-version'] )
|
|
|
|
|
|
|
|
workflow test_bcftools_isec {
|
|
|
|
|
2021-02-08 15:51:21 +00:00
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
[ file("${launchDir}/tests/data/vcf/test.vcf.gz", checkIfExists: true),
|
|
|
|
file("${launchDir}/tests/data/vcf/test2.vcf.gz", checkIfExists: true),
|
|
|
|
file("${launchDir}/tests/data/vcf/test3.vcf.gz", checkIfExists: true)],
|
|
|
|
[ file("${launchDir}/tests/data/vcf/test.vcf.gz.tbi", checkIfExists: true),
|
|
|
|
file("${launchDir}/tests/data/vcf/test2.vcf.gz.tbi", checkIfExists: true),
|
|
|
|
file("${launchDir}/tests/data/vcf/test3.vcf.gz.tbi", checkIfExists: true) ]]
|
2021-02-08 14:16:51 +00:00
|
|
|
|
2021-02-08 15:51:21 +00:00
|
|
|
BCFTOOLS_ISEC ( input )
|
2021-02-08 14:16:51 +00:00
|
|
|
|
|
|
|
}
|