nf-core_modules/tests/modules/glimpse/chunk/main.nf
Louis LENEZET 01d6d4c286
Creation of Glimpse Chunk (#1985)
* Creation of Glimpse Chunk
Add sub tools chunk with configuration and needed files for unitest.

* Code linting correction

* Prettier ran
Newline deleted in nextflow.config

* New final line and white spaces

* Change Pytest.yml to work as a subtool.

* Control for the parameters deleted.
Control for the size/count of the window and buffer not needed.
They have some defaults value.

* Changed the different recommended part by @nvnieuwk

Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>
2022-09-01 10:01:49 +02:00

14 lines
500 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { GLIMPSE_CHUNK } from '../../../../modules/glimpse/chunk/main.nf'
workflow test_glimpse_chunk {
input = [
[ id:'test', single_end:false ], // meta map
[file(params.test_data['homo_sapiens']['genome']['mills_and_1000g_indels_21_vcf_gz'], checkIfExists: true),
file(params.test_data['homo_sapiens']['genome']['mills_and_1000g_indels_21_vcf_gz_tbi'], checkIfExists: true)]
]
GLIMPSE_CHUNK (input,"chr21")
}