2021-10-27 12:24:48 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 02:58:40 -05:00
|
|
|
include { MANTA_GERMLINE } from '../../../../modules/manta/germline/main.nf'
|
2021-10-27 12:24:48 -04:00
|
|
|
|
|
|
|
workflow test_manta_germline {
|
|
|
|
input = [
|
|
|
|
[ id:'test'], // meta map
|
2022-03-30 14:21:06 -04:00
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true)],
|
2022-04-12 04:40:06 -04:00
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram_crai'], checkIfExists: true)],
|
|
|
|
[],[]
|
2021-10-27 12:24:48 -04:00
|
|
|
]
|
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
|
|
|
2022-04-12 04:40:06 -04:00
|
|
|
MANTA_GERMLINE ( input, fasta, fai )
|
2021-10-27 12:24:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_manta_germline_target_bed {
|
|
|
|
input = [
|
|
|
|
[ id:'test'], // meta map
|
2022-03-30 14:21:06 -04:00
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true)],
|
2022-04-12 04:40:06 -04:00
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram_crai'], checkIfExists: true)],
|
2022-03-30 14:21:06 -04:00
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed_gz_tbi'], checkIfExists: true),
|
|
|
|
]
|
2022-04-12 04:40:06 -04:00
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
2022-02-10 04:37:31 -05:00
|
|
|
|
2022-04-12 04:40:06 -04:00
|
|
|
MANTA_GERMLINE ( input, fasta, fai )
|
2022-02-10 04:37:31 -05:00
|
|
|
}
|
2021-10-27 12:24:48 -04:00
|
|
|
|
2022-02-10 04:37:31 -05:00
|
|
|
workflow test_manta_germline_target_bed_jointcalling {
|
|
|
|
input = [
|
|
|
|
[ id:'test'], // meta map
|
|
|
|
[file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_paired_end_sorted_cram'], checkIfExists: true)],
|
|
|
|
[file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram_crai'], checkIfExists: true),
|
2022-04-12 04:40:06 -04:00
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_paired_end_sorted_cram_crai'], checkIfExists: true),],
|
2022-03-30 14:21:06 -04:00
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_bed_gz_tbi'], checkIfExists: true),
|
|
|
|
]
|
2022-04-12 04:40:06 -04:00
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
2021-10-27 12:24:48 -04:00
|
|
|
|
2022-04-12 04:40:06 -04:00
|
|
|
MANTA_GERMLINE ( input, fasta, fai )
|
2021-10-27 12:24:48 -04:00
|
|
|
}
|