2020-07-14 09:50:35 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.preview.dsl = 2
|
|
|
|
|
2020-07-15 12:15:16 -04:00
|
|
|
params.out_dir = "test_output"
|
|
|
|
params.fastqc_args = ''
|
|
|
|
params.publish_dir_mode = "copy"
|
2020-07-14 11:25:32 -04:00
|
|
|
params.bedtools_complement_args = ''
|
2020-07-14 09:50:35 -04:00
|
|
|
|
2020-07-14 11:25:32 -04:00
|
|
|
include BEDTOOLS_COMPLEMENT from '../main.nf' params(params)
|
2020-07-14 09:50:35 -04: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 11:25:32 -04:00
|
|
|
BEDTOOLS_COMPLEMENT(ch_input, chrom_sizes, params.bedtools_complement_args)
|
2020-07-14 09:50:35 -04:00
|
|
|
}
|