mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-13 05:13:09 +00:00
7b1e84f7be
* feat: add bcftools index * Extend tests to also test gen for TBI * Update meta.yml * Update meta.yml
23 lines
772 B
Text
23 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 )
|
|
}
|