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

21 lines
813 B
Text
Raw Permalink 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_bam {
2022-04-27 09:12:58 +00:00
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),
2022-05-03 13:31:05 +00: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 09:12:58 +00: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 09:12:58 +00:00
}