nf-core_modules/tests/modules/idr/main.nf
Harshil Patel 9fb26ae462
Add IDR module (#908)
* Add IDR module

* Add meta and implement main todos

* Modifying idr tests

* Update tests/config/test_data.config

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>

* Update tests/config/test_data.config

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>

* Update main.nf

* Update tests/config/test_data.config

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>

* Update test with new file name

Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
2021-10-30 10:52:13 +02:00

35 lines
1,006 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { IDR } from '../../../modules/idr/main.nf' addParams( options: [:] )
workflow test_idr_narrowpeak {
input = [
file(params.test_data['homo_sapiens']['illumina']['test_narrowpeak'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test2_narrowpeak'], checkIfExists: true)
]
IDR ( input, 'narrowPeak', 'test' )
}
workflow test_idr_broadpeak {
input = [
file(params.test_data['homo_sapiens']['illumina']['test_broadpeak'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test2_broadpeak'], checkIfExists: true)
]
IDR ( input, 'broadPeak', 'test' )
}
workflow test_idr_noprefix {
input = [
file(params.test_data['homo_sapiens']['illumina']['test_narrowpeak'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test2_narrowpeak'], checkIfExists: true)
]
IDR ( input, 'narrowPeak', '' )
}