2020-07-14 14:00:10 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.preview.dsl = 2
|
|
|
|
|
2020-07-14 15:31:40 +00:00
|
|
|
params.bedtools_genomecov_args = '' //'-bg'
|
2020-07-14 14:00:10 +00:00
|
|
|
|
|
|
|
include check_output from '../../../../tests/functions/check_process_outputs.nf' // params(params)
|
2020-07-14 15:31:40 +00:00
|
|
|
include BEDTOOLS_GENOMECOV from '../main.nf' params(params)
|
2020-07-14 14:00:10 +00:00
|
|
|
|
|
|
|
// Define input channels
|
|
|
|
ch_input = Channel.fromPath('./input_data/JK2067_downsampled_s0.1.bam')
|
|
|
|
chrom_sizes = Channel.fromPath('./input_data/genome.sizes')
|
|
|
|
|
|
|
|
// Run the workflow
|
|
|
|
workflow {
|
2020-07-14 15:31:40 +00:00
|
|
|
BEDTOOLS_GENOMECOV(ch_input, chrom_sizes, params.bedtools_genomecov_args)
|
2020-07-14 14:00:10 +00:00
|
|
|
// .check_output()
|
|
|
|
}
|