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

21 lines
813 B
Text
Raw Normal View History

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