nf-core_modules/tests/modules/blast/tblastn/main.nf
Guoying Qi 8e21005d53
Add blast/tblastn module (#2092)
* cherry pick the module files from sanger-tol branch and update the test data from official nf-core test datasets

* Update modules/blast/tblastn/main.nf, align the emit

Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>

Co-authored-by: nvnieuwk <101190534+nvnieuwk@users.noreply.github.com>
2022-09-26 17:43:41 +02:00

15 lines
552 B
Text

#!/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 )
}