mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-13 05:13:09 +00:00
6702d2e145
* Add daa2info * Add right flag in the config * Fix config * Apply suggestions from code review Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com> Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
20 lines
810 B
Text
20 lines
810 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { DIAMOND_MAKEDB } from '../../../../modules/diamond/makedb/main.nf'
|
|
include { DIAMOND_BLASTX } from '../../../../modules/diamond/blastx/main.nf'
|
|
include { MEGAN_DAA2INFO } from '../../../../modules/megan/daa2info/main.nf'
|
|
|
|
workflow test_megan_daa2info {
|
|
|
|
db = [ file(params.test_data['candidatus_portiera_aleyrodidarum']['genome']['proteome_fasta'], checkIfExists: true) ]
|
|
fasta = [ file(params.test_data['candidatus_portiera_aleyrodidarum']['genome']['genome_fasta'], checkIfExists: true) ]
|
|
out_ext = 'daa'
|
|
blast_columns = []
|
|
megan_summary = true
|
|
|
|
DIAMOND_MAKEDB ( db )
|
|
DIAMOND_BLASTX ( [ [id:'test'], fasta ], DIAMOND_MAKEDB.out.db, out_ext, blast_columns )
|
|
MEGAN_DAA2INFO ( DIAMOND_BLASTX.out.daa, megan_summary )
|
|
}
|