2021-10-05 21:52:00 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2022-04-12 15:15:39 +00:00
|
|
|
include { GATK4_CALCULATECONTAMINATION } from '../../../../modules/gatk4/calculatecontamination/main.nf'
|
|
|
|
include { GATK4_CALCULATECONTAMINATION as GATK4_CALCULATECONTAMINATION_SEGMENTATION } from '../../../../modules/gatk4/calculatecontamination/main.nf'
|
2021-10-05 21:52:00 +00:00
|
|
|
|
|
|
|
workflow test_gatk4_calculatecontamination_tumor_only {
|
|
|
|
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_pileups_table'], checkIfExists: true),
|
|
|
|
[] ]
|
|
|
|
|
2022-04-12 15:15:39 +00:00
|
|
|
GATK4_CALCULATECONTAMINATION ( input )
|
2021-10-05 21:52:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_gatk4_calculatecontamination_matched_pair {
|
|
|
|
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_pileups_table'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_pileups_table'], checkIfExists: true) ]
|
|
|
|
|
2022-04-12 15:15:39 +00:00
|
|
|
GATK4_CALCULATECONTAMINATION ( input )
|
2021-10-05 21:52:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_gatk4_calculatecontamination_segmentation {
|
|
|
|
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_pileups_table'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_pileups_table'], checkIfExists: true) ]
|
|
|
|
|
2022-04-12 15:15:39 +00:00
|
|
|
GATK4_CALCULATECONTAMINATION_SEGMENTATION ( input )
|
2021-10-05 21:52:00 +00:00
|
|
|
}
|