2021-03-17 10:56:56 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 02:58:40 -05:00
|
|
|
include { GATK4_MERGEBAMALIGNMENT } from '../../../../modules/gatk4/mergebamalignment/main.nf'
|
2021-03-17 10:56:56 -04:00
|
|
|
|
|
|
|
workflow test_gatk4_mergebamalignment {
|
2021-03-24 05:53:41 -04:00
|
|
|
input = [ [ id:'test' ], // meta map
|
2022-01-27 10:30:27 -05:00
|
|
|
file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true),
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_unaligned_bam'], checkIfExists: true)
|
2021-03-24 05:53:41 -04:00
|
|
|
]
|
2021-03-26 07:46:46 -04:00
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
dict = file(params.test_data['sarscov2']['genome']['genome_dict'], checkIfExists: true)
|
2021-03-17 10:56:56 -04:00
|
|
|
|
2022-01-27 10:30:27 -05:00
|
|
|
GATK4_MERGEBAMALIGNMENT ( input, fasta, dict )
|
2021-03-17 10:56:56 -04:00
|
|
|
}
|
2022-05-02 05:59:08 -04:00
|
|
|
|
|
|
|
workflow test_gatk4_mergebamalignment_stubs {
|
2022-05-02 07:15:01 -04:00
|
|
|
input = [ [ id:'test' ], // meta map
|
2022-05-06 09:34:18 -04:00
|
|
|
file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true),
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_unaligned_bam'], checkIfExists: true)
|
2022-05-02 05:59:08 -04:00
|
|
|
]
|
2022-05-06 09:34:18 -04:00
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
dict = file(params.test_data['sarscov2']['genome']['genome_dict'], checkIfExists: true)
|
2022-05-02 05:59:08 -04:00
|
|
|
|
|
|
|
GATK4_MERGEBAMALIGNMENT ( input, fasta, dict )
|
|
|
|
}
|