2022-04-27 05:12:58 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { VARDICTJAVA } from '../../../modules/vardictjava/main.nf'
|
|
|
|
|
2022-08-10 08:13:03 -04:00
|
|
|
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-28 03:18:15 -04:00
|
|
|
])
|
2022-04-27 05:12:58 -04:00
|
|
|
|
2022-08-10 08:13:03 -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)
|
2022-04-28 03:18:15 -04:00
|
|
|
|
2022-08-10 08:13:03 -04:00
|
|
|
VARDICTJAVA ( bam_input_ch, fasta, fasta_fai )
|
2022-04-27 05:12:58 -04:00
|
|
|
}
|