mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
33 lines
887 B
Text
33 lines
887 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { GTDBTK_CLASSIFYWF } from '../../../../modules/gtdbtk/classifywf/main.nf' addParams( options: [:] )
|
||
|
|
||
|
process STUB_GTDBTK_DATABASE {
|
||
|
output:
|
||
|
tuple val("gtdbtk_r202_data"), path("database/*"), emit: database
|
||
|
|
||
|
stub:
|
||
|
"""
|
||
|
mkdir database
|
||
|
touch database/gtdbtk_r202_data
|
||
|
"""
|
||
|
}
|
||
|
|
||
|
workflow test_gtdbtk_classifywf {
|
||
|
|
||
|
STUB_GTDBTK_DATABASE()
|
||
|
|
||
|
input = [
|
||
|
[ id:'test', single_end:false, assembler:'SPADES' ],
|
||
|
[
|
||
|
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true),
|
||
|
file(params.test_data['sarscov2']['illumina']['contigs_fasta'], checkIfExists: true),
|
||
|
file(params.test_data['sarscov2']['illumina']['scaffolds_fasta'], checkIfExists: true)
|
||
|
]
|
||
|
]
|
||
|
|
||
|
GTDBTK_CLASSIFYWF ( input, STUB_GTDBTK_DATABASE.out.database )
|
||
|
}
|