2021-02-19 11:41:29 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
include { GATK4_SAMTOFASTQ } from '../../../../modules/gatk4/samtofastq/main.nf'
|
2021-02-19 11:41:29 +00:00
|
|
|
|
|
|
|
workflow test_gatk4_samtofastq_single_end {
|
|
|
|
input = [ [ id:'test', single_end: true ], // meta map
|
2021-03-26 11:46:46 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-02-19 11:41:29 +00:00
|
|
|
|
|
|
|
GATK4_SAMTOFASTQ ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_gatk4_samtofastq_paired_end {
|
|
|
|
input = [ [ id:'test', single_end: false ], // meta map
|
2021-03-26 11:46:46 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-02-19 11:41:29 +00:00
|
|
|
|
|
|
|
GATK4_SAMTOFASTQ ( input )
|
|
|
|
}
|
2022-05-02 09:59:08 +00:00
|
|
|
|
|
|
|
workflow test_gatk4_samtofastq_paired_end_stubs {
|
2022-05-06 13:34:18 +00:00
|
|
|
input = [ [ id:'test', single_end: true ], // meta map
|
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true) ]
|
2022-05-02 09:59:08 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
GATK4_SAMTOFASTQ ( input )
|
|
|
|
}
|