2020-10-30 23:23:26 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.preview.dsl = 2
|
|
|
|
|
2020-10-31 01:21:50 -04:00
|
|
|
include { BEDTOOLS_SLOPREFSEQ } from '../../sloprefseq/main.nf' addParams( options: [publish_dir:'test_bed_file'])
|
2020-10-30 23:23:26 -04:00
|
|
|
|
|
|
|
// Define input channels
|
|
|
|
|
|
|
|
// Run the workflow
|
|
|
|
workflow test_bed_file{
|
|
|
|
def input = []
|
2020-10-31 01:21:50 -04:00
|
|
|
input = [ [ id:'test', single_end:true ],
|
2020-11-09 20:07:34 -05:00
|
|
|
[ file("${baseDir}/input/A.bed", checkIfExists: true),] ]
|
2020-10-30 23:23:26 -04:00
|
|
|
|
2020-11-09 20:07:34 -05:00
|
|
|
BEDTOOLS_SLOPREFSEQ (
|
|
|
|
input,
|
|
|
|
file("${baseDir}/input/genome.sizes", checkIfExists: true)
|
|
|
|
)
|
|
|
|
|
2020-10-30 23:23:26 -04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow {
|
|
|
|
test_bed_file()
|
|
|
|
}
|