nf-core_modules/tests/modules/rhocall/annotate/main.nf

41 lines
1.2 KiB
Text
Raw Normal View History

2022-06-07 10:14:40 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { RHOCALL_ANNOTATE } from '../../../../modules/rhocall/annotate/main.nf'
2022-06-07 12:37:03 +00:00
include { BCFTOOLS_ROH } from '../../../../modules/bcftools/roh/main.nf'
2022-06-07 10:14:40 +00:00
workflow test_rhocall_annotate {
2022-06-07 12:37:03 +00:00
input = [ [ id:'test' ], // 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-06-08 14:36:02 +00:00
af_file = [[],[]]
2022-06-07 12:37:03 +00:00
gen_map = []
regions = []
targets = []
samples = []
BCFTOOLS_ROH ( input, af_file, gen_map, regions, samples, targets )
RHOCALL_ANNOTATE ( input, BCFTOOLS_ROH.out.roh, [])
}
workflow test_rhocall_annotate_stub {
input = [ [ id:'test' ], // 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-06-08 14:36:02 +00:00
af_file = [[],[]]
2022-06-07 12:37:03 +00:00
gen_map = []
regions = []
targets = []
samples = []
BCFTOOLS_ROH ( input, af_file, gen_map, regions, samples, targets )
RHOCALL_ANNOTATE ( input, BCFTOOLS_ROH.out.roh, [])
2022-06-07 10:14:40 +00:00
}