nf-core_modules/tests/software/blast/blastn/main.nf
2021-02-09 16:58:36 +01:00

15 lines
527 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { BLAST_MAKEBLASTDB } from '../../../../software/blast/makeblastdb/main.nf' addParams( options: ['args': '-dbtype nucl'] )
include { BLAST_BLASTN } from '../../../../software/blast/blastn/main.nf' addParams( options: [:] )
workflow test_blast_blastn {
def input = []
input = [ file("${launchDir}/tests/data/fasta/E_coli/NC_010473.fa", checkIfExists: true) ]
BLAST_MAKEBLASTDB (input)
BLAST_BLASTN ([ [id:'test'], input ], BLAST_MAKEBLASTDB.out.db)
}