nf-core_modules/software/bedtools/sloprefseq/test_main.nf
sruthipsuresh ec6ebe086f Updated test.mainnf file.
Added the necessary chrom sizes input and changed test file to directory (as specified in nfcore).
2021-01-29 23:17:44 -06:00

19 lines
471 B
Text

#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
params.out_dir = "test_output"
params.upstream = 1
params.downstream = 10
include BEDTOOLS_SLOPEREFSEQ from '../main.nf' params(params)
// Define input channels
ch_input_1 = Channel.fromPath('./tests/data/bed/A.bed')
ch_input_2 = Channel.fromPath('./tests/data/bed/genome.sizes')
def additional_params_map = [:]
// Run the workflow
workflow {
BEDTOOLS_SLOPEREFSEQ(ch_input_1, ch_input_2, additional_params_map)
}