mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
4b8c7ac7bd
* 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
24 lines
737 B
Text
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 )
|
|
}
|