mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-13 05:13:09 +00:00
25 lines
737 B
Text
25 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 )
|
||
|
}
|