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