2021-01-30 03:38:35 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 09:10:18 +00:00
|
|
|
include { BEDTOOLS_SLOP } from '../../../../modules/bedtools/slop/main.nf' addParams( options: [args: '-l 15 -r 30', suffix: '_out'] )
|
2021-01-30 03:38:35 +00:00
|
|
|
|
|
|
|
workflow test_bedtools_slop {
|
|
|
|
input = [ [ id:'test'],
|
2021-03-24 14:14:19 +00:00
|
|
|
file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-03-24 14:14:19 +00:00
|
|
|
sizes = file(params.test_data['sarscov2']['genome']['genome_sizes'], checkIfExists: true)
|
|
|
|
|
2021-03-24 09:53:41 +00:00
|
|
|
BEDTOOLS_SLOP ( input, sizes )
|
2021-01-30 03:38:35 +00:00
|
|
|
}
|
2021-01-30 03:57:24 +00:00
|
|
|
|