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

14 lines
522 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 '../../../../modules/blast/makeblastdb/main.nf' addParams( options: ['args': '-dbtype nucl'] )
include { BLAST_BLASTN } from '../../../../modules/blast/blastn/main.nf' addParams( options: [:] )
2021-02-09 15:58:36 +00:00
workflow test_blast_blastn {
input = [ file(params.test_data['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
}