2021-01-30 03:38:35 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-01-30 04:12:14 +00:00
|
|
|
include { BEDTOOLS_SLOP } from '../../../../software/bedtools/slop/main.nf' addParams( options: [args: '-l 15 -r 30'] )
|
2021-01-30 03:38:35 +00:00
|
|
|
|
|
|
|
workflow test_bedtools_slop {
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test'],
|
2021-02-07 21:32:20 +00:00
|
|
|
file("${launchDir}/tests/data/bed/A.bed", checkIfExists: true) ]
|
2021-01-30 03:38:35 +00:00
|
|
|
|
2021-02-07 21:32:20 +00:00
|
|
|
BEDTOOLS_SLOP ( input, file("${launchDir}/tests/data/bed/genome.sizes", checkIfExists: true) )
|
2021-01-30 03:38:35 +00:00
|
|
|
}
|
2021-01-30 03:57:24 +00:00
|
|
|
|