2021-02-09 15:58:36 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 09:10:18 +00:00
|
|
|
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 {
|
2021-04-01 19:22:06 +00:00
|
|
|
input = [ file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true) ]
|
2021-02-09 15:58:36 +00:00
|
|
|
|
2021-03-24 09:53:41 +00:00
|
|
|
BLAST_MAKEBLASTDB ( input )
|
|
|
|
BLAST_BLASTN ( [ [id:'test'], input ], BLAST_MAKEBLASTDB.out.db )
|
2021-02-09 15:58:36 +00:00
|
|
|
}
|