nf-core_modules/tests/modules/untar/main.nf
James A. Fellows Yates 393dbd6dda
Update UNTAR to account for file-only or multi-directory tar archives (#2055)
* Update main.nf

* Update meta.yml

* Re-add logos as not staged in a way that works with MultiQC config files

* Fix when only files or multiple directories

* Add test for only-files tar

* Fix bash check
2022-09-14 10:40:45 +02:00

34 lines
643 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { UNTAR } from '../../../modules/untar/main.nf'
workflow test_untar {
input = [
[],
file(params.test_data['sarscov2']['genome']['kraken2_tar_gz'], checkIfExists: true)
]
UNTAR ( input )
}
workflow test_untar_different_output_path {
input = [
[],
file(params.test_data['homo_sapiens']['illumina']['test_flowcell'], checkIfExists: true)
]
UNTAR ( input )
}
workflow test_untar_onlyfiles {
input = [
[],
file(params.test_data['generic']['tar']['tar_gz'], checkIfExists: true)
]
UNTAR ( input )
}