mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-24 11:48:17 +00:00
26 lines
522 B
Text
26 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()
|
||
|
}
|
||
|
|
||
|
|