mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Created test file for checking code.
Still need to add parameters map and chrom sizes path.
This commit is contained in:
parent
5f705f69e1
commit
8d6d48f067
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