nf-core_modules/tests/software/dsh/main.nf
2021-01-21 16:34:49 -06:00

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