nf-core_modules/tests/software/blast/blastn/main.nf

16 lines
527 B
Text
Raw Normal View History

2021-02-09 15:58:36 +00:00
#!/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)
}