nf-core_modules/tests/modules/samtools/bam2fq/main.nf
Francesco L 4b8c7ac7bd
Bam2fq (#958)
* added template for module

* update main

* added specific code

* wrong variable name in else script

* added tests for both split and nosplit

* docker test successful - updating yaml

* adding echo to version print
2021-10-29 10:46:34 +02:00

24 lines
737 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { SAMTOOLS_BAM2FQ } from '../../../../modules/samtools/bam2fq/main.nf' addParams( options: [args: "-T RX"] )
workflow test_samtools_bam2fq_nosplit {
input = [ [ id:'test', single_end:false ], // meta map
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_umi_converted_bam'], checkIfExists: true) ]
split = false
SAMTOOLS_BAM2FQ ( input, split )
}
workflow test_samtools_bam2fq_withsplit {
input = [ [ id:'test', single_end:false ], // meta map
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_umi_converted_bam'], checkIfExists: true) ]
split = true
SAMTOOLS_BAM2FQ ( input, split )
}