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 {
|
|
|
|
|
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-28 03:18:15 -04:00
|
|
|
])
|
2022-04-27 05:12:58 -04:00
|
|
|
|
2022-04-28 07:31:37 -04:00
|
|
|
reference = Channel.value([
|
2022-04-28 04:23:07 -04: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 03:18:15 -04:00
|
|
|
|
2022-05-03 09:31:05 -04:00
|
|
|
VARDICTJAVA ( bam_input_ch, reference )
|
2022-04-27 05:12:58 -04:00
|
|
|
}
|