mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 11:38:17 +00:00
19 lines
514 B
Text
19 lines
514 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.preview.dsl = 2
|
|
|
|
params.out_dir = "test_output"
|
|
params.fastqc_args = ''
|
|
params.publish_dir_mode = "copy"
|
|
params.bedtools_genomecov_args = '' //'-bg'
|
|
|
|
include BEDTOOLS_GENOMECOV from '../main.nf' params(params)
|
|
|
|
// 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 {
|
|
BEDTOOLS_GENOMECOV(ch_input, chrom_sizes, params.bedtools_genomecov_args)
|
|
}
|