2020-07-14 13:50:35 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.preview.dsl = 2
|
|
|
|
|
2020-07-15 16:15:16 +00:00
|
|
|
params.out_dir = "test_output"
|
|
|
|
params.fastqc_args = ''
|
|
|
|
params.publish_dir_mode = "copy"
|
2020-07-14 15:25:32 +00:00
|
|
|
params.bedtools_complement_args = ''
|
2020-07-14 13:50:35 +00:00
|
|
|
|
2020-07-14 15:25:32 +00:00
|
|
|
include BEDTOOLS_COMPLEMENT from '../main.nf' params(params)
|
2020-07-14 13:50:35 +00:00
|
|
|
|
|
|
|
// Define input channels
|
|
|
|
ch_input = Channel.fromPath('./input_data/A.bed')
|
|
|
|
chrom_sizes = Channel.fromPath('./input_data/genome.sizes')
|
|
|
|
|
|
|
|
// Run the workflow
|
|
|
|
workflow {
|
2020-07-14 15:25:32 +00:00
|
|
|
BEDTOOLS_COMPLEMENT(ch_input, chrom_sizes, params.bedtools_complement_args)
|
2020-07-14 13:50:35 +00:00
|
|
|
}
|