mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-25 12:08:16 +00:00
24 lines
734 B
Text
24 lines
734 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { DSH_FILTERBED } from '../../../software/dsh/filterbed/main.nf' addParams( options: [suffix: '.filtered', args: '--range chr1:0-1000'] )
|
|
include { DSH_SPLITBED } from '../../../software/dsh/splitbed/main.nf' addParams( options: [suffix: '.', args: '--records 2'] )
|
|
|
|
workflow test_dsh_filterbed {
|
|
|
|
def input = []
|
|
input = [ [ id:'A' ], // meta map
|
|
[ file("${launchDir}/tests/data/bed/A.bed.gz", checkIfExists: true) ] ]
|
|
|
|
DSH_FILTERBED ( input )
|
|
}
|
|
|
|
workflow test_dsh_splitbed {
|
|
|
|
def input = []
|
|
input = [ [ id:'A' ], // meta map
|
|
[ file("${launchDir}/tests/data/bed/A.bed.gz", checkIfExists: true) ] ]
|
|
|
|
DSH_SPLITBED ( input )
|
|
}
|