nf-core_modules/tests/modules/vardictjava/main.nf

24 lines
849 B
Text
Raw Normal View History

2022-04-27 09:12:58 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { VARDICTJAVA } from '../../../modules/vardictjava/main.nf'
workflow test_vardictjava {
2022-04-28 11:31:37 +00:00
bam_input_ch = Channel.value([
[ id:'test' ], // meta map
2022-04-28 08:23:07 +00:00
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam_bai'], checkIfExists: true)
])
2022-04-27 09:12:58 +00:00
2022-04-28 11:31:37 +00:00
bed = Channel.value(file(params.test_data['homo_sapiens']['genome']['genome_bed'], checkIfExists: true))
2022-04-28 11:31:37 +00:00
reference = Channel.value([
2022-04-28 08:23:07 +00:00
file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true),
file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
])
2022-04-28 08:23:07 +00:00
VARDICTJAVA ( bam_input_ch, bed, reference )
2022-04-27 09:12:58 +00:00
}