nf-core_modules/tests/modules/blast/tblastn/main.nf

16 lines
552 B
Text
Raw Normal View History

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { BLAST_TBLASTN } from '../../../../modules/blast/tblastn/main.nf'
include { BLAST_MAKEBLASTDB } from '../../../../modules/blast/makeblastdb/main.nf'
workflow test_blast_tblastn {
input = [ file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true) ]
input_pep = [ file(params.test_data['sarscov2']['genome']['proteome_fasta'], checkIfExists: true) ]
BLAST_MAKEBLASTDB ( input )
BLAST_TBLASTN ( [ [id:'test'], input_pep ], BLAST_MAKEBLASTDB.out.db )
}