mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
24 lines
772 B
Text
24 lines
772 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { BCFTOOLS_INDEX as BCFTOOLS_INDEX_CSI } from '../../../../modules/bcftools/index/main.nf' addParams( options: [:] )
|
||
|
include { BCFTOOLS_INDEX as BCFTOOLS_INDEX_TBI } from '../../../../modules/bcftools/index/main.nf' addParams( options: [args: '-t'] )
|
||
|
|
||
|
|
||
|
workflow test_bcftools_index_csi {
|
||
|
|
||
|
input = [ [ id:'test', single_end:false ], // meta map
|
||
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true) ]
|
||
|
|
||
|
BCFTOOLS_INDEX_CSI ( input )
|
||
|
}
|
||
|
|
||
|
workflow test_bcftools_index_tbi {
|
||
|
|
||
|
input = [ [ id:'test', single_end:false ], // meta map
|
||
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true) ]
|
||
|
|
||
|
BCFTOOLS_INDEX_TBI ( input )
|
||
|
}
|