2021-03-17 14:56:56 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
include { GATK4_MERGEBAMALIGNMENT } from '../../../../modules/gatk4/mergebamalignment/main.nf'
|
2021-03-17 14:56:56 +00:00
|
|
|
|
|
|
|
workflow test_gatk4_mergebamalignment {
|
2021-03-24 09:53:41 +00:00
|
|
|
input = [ [ id:'test' ], // meta map
|
2022-01-27 15:30:27 +00: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 09:53:41 +00:00
|
|
|
]
|
2021-03-26 11:46:46 +00: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 14:56:56 +00:00
|
|
|
|
2022-01-27 15:30:27 +00:00
|
|
|
GATK4_MERGEBAMALIGNMENT ( input, fasta, dict )
|
2021-03-17 14:56:56 +00:00
|
|
|
}
|
2022-05-02 09:59:08 +00:00
|
|
|
|
|
|
|
workflow test_gatk4_mergebamalignment_stubs {
|
2022-05-02 11:15:01 +00:00
|
|
|
input = [ [ id:'test' ], // meta map
|
|
|
|
"test_foo.bam",
|
|
|
|
"test_bar.bam"
|
2022-05-02 09:59:08 +00:00
|
|
|
]
|
2022-05-02 11:15:01 +00:00
|
|
|
fasta = "genome.fasta"
|
|
|
|
dict = "genome.fasta.dict"
|
2022-05-02 09:59:08 +00:00
|
|
|
|
|
|
|
GATK4_MERGEBAMALIGNMENT ( input, fasta, dict )
|
|
|
|
}
|