2020-07-14 14:00:10 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.preview.dsl = 2
|
|
|
|
|
2020-07-15 16:15:32 +00:00
|
|
|
params.out_dir = "test_output"
|
|
|
|
params.fastqc_args = ''
|
|
|
|
params.publish_dir_mode = "copy"
|
2020-07-14 15:31:40 +00:00
|
|
|
params.bedtools_genomecov_args = '' //'-bg'
|
2020-07-14 14:00:10 +00:00
|
|
|
|
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
|
|
|
}
|