mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
26 lines
928 B
Text
26 lines
928 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'
|
|
|
|
workflow test_diamond_blastx {
|
|
|
|
db = [ file(params.test_data['sarscov2']['genome']['proteome_fasta'], checkIfExists: true) ]
|
|
fasta = [ file(params.test_data['sarscov2']['genome']['transcriptome_fasta'], checkIfExists: true) ]
|
|
outext = 'txt'
|
|
|
|
DIAMOND_MAKEDB ( db )
|
|
DIAMOND_BLASTX ( [ [id:'test'], fasta ], DIAMOND_MAKEDB.out.db, outext )
|
|
}
|
|
|
|
workflow test_diamond_blastx_daa {
|
|
|
|
db = [ file(params.test_data['sarscov2']['genome']['proteome_fasta'], checkIfExists: true) ]
|
|
fasta = [ file(params.test_data['sarscov2']['genome']['transcriptome_fasta'], checkIfExists: true) ]
|
|
outext = 'daa'
|
|
|
|
DIAMOND_MAKEDB ( db )
|
|
DIAMOND_BLASTX ( [ [id:'test'], fasta ], DIAMOND_MAKEDB.out.db, outext )
|
|
}
|