nf-core_modules/tests/modules/gatk4/samtofastq/main.nf

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 )
}