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

14 lines
533 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: [:] )
2021-02-09 15:58:36 +00:00
workflow test_blast_blastn {
input = [ file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta", checkIfExists: true) ]
2021-02-09 15:58:36 +00:00
BLAST_MAKEBLASTDB ( input )
BLAST_BLASTN ( [ [id:'test'], input ], BLAST_MAKEBLASTDB.out.db )
2021-02-09 15:58:36 +00:00
}