mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-13 13:23:09 +00:00
25 lines
522 B
Text
25 lines
522 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.preview.dsl = 2
|
|
// Test -l, -r provided.
|
|
include { BEDTOOLS_SLOP } from '../main.nf' addParams( options: [publish_dir:'test_bed_file'] )
|
|
// Define input channels
|
|
|
|
// Run the workflow
|
|
workflow test_bed_file {
|
|
def input = []
|
|
input = [ [ id:'test', l:1, r:10 ],
|
|
[ file("${baseDir}/input/A.bed", checkIfExists: true),] ]
|
|
|
|
BEDTOOLS_SLOP(
|
|
input,
|
|
file("${baseDir}/input/genome.sizes", checkIfExists: true)
|
|
)
|
|
|
|
}
|
|
|
|
workflow {
|
|
test_bed_file()
|
|
}
|
|
|
|
|