nf-core_modules/software/bedtools/merge/test/main.nf

20 lines
494 B
Text
Raw Normal View History

2020-07-14 14:46:49 +00:00
#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
params.out_dir = "test_output"
params.fastqc_args = ''
params.publish_dir_mode = "copy"
2020-07-14 14:46:49 +00:00
params.bedtools_merge_args = '' //''-s -c 6 -o distinct'
include BEDTOOLS_MERGE from '../main.nf' params(params)
// Define input channels
2020-07-14 15:42:03 +00:00
ch_input = Channel.fromPath('./input_data/A.bed')
2020-07-14 14:46:49 +00:00
//ch_input = Channel.fromPath('./input_data/JK2067_downsampled_s0.1.bam')
// Run the workflow
workflow {
BEDTOOLS_MERGE(ch_input, params.bedtools_merge_args)
}