nf-core_modules/tests/modules/eido/validate/main.nf
Rafal Stepien 2456ef7d99
Add eido/validate module (#2048)
* Add eido/validate module

* Apply first batch of updates after code review

* Remove readlink, update sed, update paths

* Move sample table index parameter to config

* Update tests/modules/eido/validate/test.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Update tests/modules/eido/validate/test.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Update tests/modules/eido/validate/test.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Update tests/modules/eido/validate/test.yml

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* Update modules/eido/validate/main.nf

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
2022-09-13 10:27:28 -04:00

21 lines
925 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { EIDO_VALIDATE } from '../../../../modules/eido/validate/main.nf'
workflow test_eido_validate_on_nextflow_samplesheet {
samplesheet = file("https://github.com/nf-core/test-datasets/raw/modules/data/delete_me/pep/test_nextflow_original_samplesheet.csv", checkIfExists: true)
schema = file("https://github.com/nf-core/test-datasets/raw/modules/data/delete_me/pep/test_samplesheet_schema.yaml", checkIfExists: true)
EIDO_VALIDATE ( samplesheet, schema )
}
workflow test_eido_validate_on_pep_config {
samplesheet = file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/pep/test_pep_format_files/config.yaml", checkIfExists: true)
schema = file("https://github.com/nf-core/test-datasets/raw/modules/data/delete_me/pep/test_samplesheet_schema.yaml", checkIfExists: true)
EIDO_VALIDATE ( samplesheet, schema )
}