mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
29 lines
852 B
Text
29 lines
852 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { GATK4_SAMTOFASTQ } from '../../../../modules/gatk4/samtofastq/main.nf'
|
|
|
|
workflow test_gatk4_samtofastq_single_end {
|
|
input = [ [ id:'test', single_end: true ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true) ]
|
|
]
|
|
|
|
GATK4_SAMTOFASTQ ( input )
|
|
}
|
|
|
|
workflow test_gatk4_samtofastq_paired_end {
|
|
input = [ [ id:'test', single_end: false ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true) ]
|
|
]
|
|
|
|
GATK4_SAMTOFASTQ ( input )
|
|
}
|
|
|
|
workflow test_gatk4_samtofastq_paired_end_stubs {
|
|
input = [ [ id:'test', single_end: false ], // meta map
|
|
[ "foo_paired_end.bam" ]
|
|
]
|
|
|
|
GATK4_SAMTOFASTQ ( input )
|
|
}
|