mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-26 23:43:19 -05:00
29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { BCFTOOLS_QUERY } from '../../../../modules/bcftools/query/main.nf'
|
|
|
|
workflow test_bcftools_query {
|
|
|
|
input = [ [ id:'out' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz_tbi'], checkIfExists: true)]
|
|
regions = []
|
|
targets = []
|
|
samples = []
|
|
|
|
BCFTOOLS_QUERY ( input, regions, targets, samples )
|
|
}
|
|
|
|
workflow test_bcftools_query_with_optional_files {
|
|
|
|
input = [ [ id:'out' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz_tbi'], checkIfExists: true)]
|
|
regions = file(params.test_data['sarscov2']['illumina']['test3_vcf_gz'], checkIfExists: true)
|
|
targets = file(params.test_data['sarscov2']['illumina']['test2_vcf_targets_tsv_gz'], checkIfExists: true)
|
|
samples = []
|
|
|
|
BCFTOOLS_QUERY ( input, regions, targets, samples )
|
|
}
|