2021-09-14 03:19:01 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 02:58:40 -05:00
|
|
|
include { BCFTOOLS_QUERY } from '../../../../modules/bcftools/query/main.nf'
|
2021-09-14 03:19:01 -04:00
|
|
|
|
|
|
|
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)]
|
2022-02-02 10:19:46 -05:00
|
|
|
regions = []
|
|
|
|
targets = []
|
|
|
|
samples = []
|
2021-09-14 03:19:01 -04:00
|
|
|
|
|
|
|
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)]
|
2022-02-02 10:19:46 -05:00
|
|
|
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 = []
|
2021-09-14 03:19:01 -04:00
|
|
|
|
|
|
|
BCFTOOLS_QUERY ( input, regions, targets, samples )
|
|
|
|
}
|