mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 11:38:17 +00:00
23 lines
681 B
Text
23 lines
681 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { GATK4_SAMTOFASTQ } from '../../../../software/gatk4/samtofastq/main.nf' addParams( options: [:] )
|
|
|
|
workflow test_gatk4_samtofastq_single_end {
|
|
|
|
def input = []
|
|
input = [ [ id:'test', single_end: true ], // meta map
|
|
[ file("${launchDir}/tests/data/bam/test.single_end.sorted.bam", checkIfExists: true)] ]
|
|
|
|
GATK4_SAMTOFASTQ ( input )
|
|
}
|
|
|
|
workflow test_gatk4_samtofastq_paired_end {
|
|
|
|
def input = []
|
|
input = [ [ id:'test', single_end: false ], // meta map
|
|
[ file("${launchDir}/tests/data/bam/test.single_end.sorted.bam", checkIfExists: true)] ]
|
|
|
|
GATK4_SAMTOFASTQ ( input )
|
|
}
|