mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Created test file for checking code.
Still need to add parameters map and chrom sizes path.
This commit is contained in:
parent
185ca19930
commit
fefbdb9893
1 changed files with 19 additions and 0 deletions
19
software/bedtools/sloprefseq/test_main.nf
Normal file
19
software/bedtools/sloprefseq/test_main.nf
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/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/B.bed')
|
||||
|
||||
def additional_params_map = [:]
|
||||
|
||||
// Run the workflow
|
||||
workflow {
|
||||
BEDTOOLS_SLOPEREFSEQ(ch_input_1, additional_params_map)
|
||||
}
|
Loading…
Reference in a new issue