nf-core_modules/tests/modules/cooler/merge/main.nf
JIANHONG OU a6ca2b006b
Cooler merge (#515)
* add software/cooler

* fix the wrong files uploaded.

* create a branch for cooler/merge

* remove the bin_size from metadata.

* update the test_data to test-datasets

* update pytest_modules.yml

* update the test file from single input file to two input file.
update the output file from hdf5 to bedpe.

* update the version.txt to version.yml and functions.nf

* change version.yml to versions

* update the test file path and fix the output versions.

* Update meta.yml

Correct "version" to "versions"

* Update main.nf

Fix typo

* Update main.nf

Remove some spaces

Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
Co-authored-by: Sébastien Guizard <sguizard@ed.ac.uk>
2021-11-15 15:18:43 +00:00

16 lines
604 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { COOLER_MERGE } from '../../../../modules/cooler/merge/main.nf' addParams( options: [publish_files:[:]] )
include { COOLER_DUMP } from '../../../../modules/cooler/dump/main.nf' addParams( options: [:] )
workflow test_cooler_merge {
input = [ [ id:'test' ], // meta map
[ file(params.test_data['generic']['cooler']['test_merge_cool'], checkIfExists: true),
file(params.test_data['generic']['cooler']['test_merge_cool_cp2'], checkIfExists: true)]
]
COOLER_MERGE ( input ).cool | COOLER_DUMP
}