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