mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 12:43:09 +00:00
16 lines
591 B
Text
16 lines
591 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { UNTAR } from '../../../../software/untar/main.nf' addParams( options: [:] )
|
||
|
include { LAST_TRAIN } from '../../../../software/last/train/main.nf' addParams( options: [:] )
|
||
|
|
||
|
workflow test_last_train {
|
||
|
|
||
|
db = [ file(params.test_data['sarscov2']['genome']['lastdb_tar_gz'], checkIfExists: true) ]
|
||
|
input = [ [ id:'contigs' ], // meta map
|
||
|
file(params.test_data['sarscov2']['illumina']['contigs_fasta'], checkIfExists: true) ]
|
||
|
UNTAR ( db )
|
||
|
LAST_TRAIN ( input, UNTAR.out.untar )
|
||
|
}
|