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
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-03-24 09:53:41 +00:00
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/vcf/test.vcf.gz", checkIfExists: true),
|
|
|
|
file("${launchDir}/tests/data/genomics/sarscov2/illumina/vcf/test2.vcf.gz", checkIfExists: true)],
|
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/vcf/test.vcf.gz.tbi", checkIfExists: true),
|
|
|
|
file("${launchDir}/tests/data/genomics/sarscov2/illumina/vcf/test2.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
|
|
|
}
|