mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 19:48:16 +00:00
20 lines
860 B
Text
20 lines
860 B
Text
#!/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 {
|
|
|
|
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) ]]
|
|
|
|
BCFTOOLS_ISEC ( input )
|
|
|
|
}
|