2020-07-14 14:17:23 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.preview.dsl = 2
|
2020-07-15 16:15:49 +00:00
|
|
|
params.out_dir = "test_output"
|
|
|
|
params.fastqc_args = ''
|
|
|
|
params.publish_dir_mode = "copy"
|
2020-07-14 14:17:23 +00:00
|
|
|
params.intersect_args = '' //'-bed -c -f 0.20'
|
|
|
|
|
|
|
|
include check_output from '../../../../tests/functions/check_process_outputs.nf' // params(params)
|
|
|
|
include INTERSECT_BED from '../main.nf' params(params)
|
|
|
|
|
|
|
|
// Define input channels
|
|
|
|
ch_input_1 = Channel.fromPath('./input_data/A.bed')
|
|
|
|
ch_input_2 = Channel.fromPath('./input_data/B.bed')
|
|
|
|
|
2020-07-16 14:37:33 +00:00
|
|
|
def additional_params_map = [:]
|
|
|
|
|
|
|
|
additional_params_map = [ s: "",
|
|
|
|
f: 0.9 ]
|
|
|
|
|
2020-07-14 14:17:23 +00:00
|
|
|
// Run the workflow
|
|
|
|
workflow {
|
2020-07-16 14:37:33 +00:00
|
|
|
INTERSECT_BED(ch_input_1, ch_input_2, additional_params_map)
|
2020-07-14 14:17:23 +00:00
|
|
|
}
|