mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 06:03:10 +00:00
292e8eceb9
* Specify more guidelines on input channels * Linting * Updates based on code review * Update README.md * Fix broken sentence * Add MALT with incomplete tests * Parameter typo fix * Clean up test yaml * Finish MALT module prior UNZIP and MALT_BUILD modiules * Add required modules for tests * Sync test out with malt-build * Fix input parameters in tests based on final build module * Update modules/malt/run/meta.yml Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
21 lines
951 B
Text
21 lines
951 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { UNZIP } from '../../../../modules/unzip/main.nf' addParams( options: [:] )
|
|
include { MALT_BUILD } from '../../../../modules/malt/build/main.nf' addParams( options: [:] )
|
|
include { MALT_RUN } from '../../../../modules/malt/run/main.nf' addParams( options: [:] )
|
|
|
|
workflow test_malt_run {
|
|
|
|
fastas = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
gff = file(params.test_data['sarscov2']['genome']['genome_gff3'], checkIfExists: true)
|
|
seq_type = "DNA"
|
|
map_db = file("https://software-ab.informatik.uni-tuebingen.de/download/megan6/megan-nucl-Jan2021.db.zip", checkIfExists: true)
|
|
input = file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
|
|
mode = "BlastN"
|
|
|
|
UNZIP ( map_db )
|
|
MALT_BUILD ( fastas, seq_type, gff, UNZIP.out.unzipped_archive )
|
|
MALT_RUN ( input, mode, MALT_BUILD.out.index )
|
|
}
|