2021-03-24 01:07:29 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 02:58:40 -05:00
|
|
|
include { STRELKA_GERMLINE } from '../../../../modules/strelka/germline/main.nf'
|
2021-03-24 01:07:29 -04:00
|
|
|
|
|
|
|
workflow test_strelka_germline {
|
2021-10-27 10:14:52 -04:00
|
|
|
input = [
|
2021-07-01 11:13:01 -04:00
|
|
|
[ id:'test'], // meta map
|
2021-10-27 10:14:52 -04:00
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_recalibrated_sorted_cram'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_recalibrated_sorted_cram_crai'], checkIfExists: true),
|
2022-02-10 04:34:22 -05:00
|
|
|
[],
|
|
|
|
[]
|
2021-07-01 11:13:01 -04:00
|
|
|
]
|
2021-10-27 10:14:52 -04:00
|
|
|
|
2022-02-10 04:34:22 -05:00
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)
|
|
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta_fai'], checkIfExists: true)
|
2021-10-27 10:14:52 -04:00
|
|
|
|
2022-02-10 04:34:22 -05:00
|
|
|
STRELKA_GERMLINE ( input, fasta, fai)
|
2021-03-24 01:07:29 -04:00
|
|
|
}
|
|
|
|
|
2021-03-24 05:53:41 -04:00
|
|
|
workflow test_strelka_germline_target_bed {
|
2022-02-10 04:34:22 -05:00
|
|
|
|
2021-10-27 10:14:52 -04:00
|
|
|
input = [
|
2021-07-01 11:13:01 -04:00
|
|
|
[ id:'test'], // meta map
|
2022-02-10 04:34:22 -05:00
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_paired_end_recalibrated_sorted_cram'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_paired_end_recalibrated_sorted_cram_crai'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_21_multi_interval_bed_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['genome']['genome_21_multi_interval_bed_gz_tbi'], checkIfExists: true)
|
2021-07-01 11:13:01 -04:00
|
|
|
]
|
|
|
|
|
2022-02-10 04:34:22 -05:00
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)
|
|
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta_fai'], checkIfExists: true)
|
2021-03-24 05:53:41 -04:00
|
|
|
|
2022-02-10 04:34:22 -05:00
|
|
|
STRELKA_GERMLINE ( input, fasta, fai)
|
2021-03-24 01:07:29 -04:00
|
|
|
}
|
|
|
|
|