mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 06:03:10 +00:00
0ab15c5ee9
Bump checkM version and add support for pre-defined database Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>
24 lines
775 B
Text
24 lines
775 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { CHECKM_LINEAGEWF } from '../../../../modules/checkm/lineagewf/main.nf'
|
|
|
|
workflow test_checkm_lineagewf {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['contigs_fasta'], checkIfExists: true) ]
|
|
fasta_ext = 'fasta'
|
|
|
|
CHECKM_LINEAGEWF ( input, fasta_ext, [] )
|
|
}
|
|
|
|
workflow test_checkm_lineagewf_multi {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['contigs_fasta'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)] ]
|
|
fasta_ext = 'fasta'
|
|
|
|
CHECKM_LINEAGEWF ( input, fasta_ext, [] )
|
|
}
|