nf-core_modules/tests/modules/motus/profile/main.nf

32 lines
1 KiB
Text
Raw Normal View History

2022-04-24 11:55:17 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { MOTUS_DOWNLOADDB } from '../../../../modules/motus/downloaddb/main.nf'
include { MOTUS_PROFILE } from '../../../../modules/motus/profile/main.nf'
2022-04-24 11:55:17 +00:00
workflow test_motus_profile_single_end {
input = [
2022-05-05 17:38:46 +00:00
[ id:'test', single_end:true ], // meta map
2022-04-24 11:55:17 +00:00
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
]
MOTUS_DOWNLOADDB(file('https://raw.githubusercontent.com/motu-tool/mOTUs/master/motus/downloadDB.py'))
2022-05-05 17:38:46 +00:00
MOTUS_PROFILE ( input, MOTUS_DOWNLOADDB.out.db)
2022-04-24 11:55:17 +00:00
}
workflow test_motus_profile_paired_end {
input = [
[ id:'test', single_end:false ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) ]
]
MOTUS_DOWNLOADDB(file('https://raw.githubusercontent.com/motu-tool/mOTUs/master/motus/downloadDB.py'))
2022-05-05 17:38:46 +00:00
MOTUS_PROFILE ( input, MOTUS_DOWNLOADDB.out.db)
2022-04-24 11:55:17 +00:00
}