mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
a552d97849
* added sarscov2 vcf data; adjusted bcftools tests * updated README.md * deleted old VCF files; fixed mergevcfs * fixed tabix
17 lines
768 B
Text
17 lines
768 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/genomics/sarscov2/vcf/test.vcf.gz", checkIfExists: true),
|
|
file("${launchDir}/tests/data/genomics/sarscov2/vcf/test2.vcf.gz", checkIfExists: true)],
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/vcf/test.vcf.gz.tbi", checkIfExists: true),
|
|
file("${launchDir}/tests/data/genomics/sarscov2/vcf/test2.vcf.gz.tbi", checkIfExists: true)]
|
|
]
|
|
|
|
BCFTOOLS_ISEC ( input )
|
|
}
|