nf-core_modules/software/bwa/mem/test/main.nf

14 lines
437 B
Text
Raw Normal View History

2020-03-05 16:06:25 +00:00
#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
2020-07-11 12:33:12 +00:00
include '../../../../tests/functions/check_process_outputs.nf' params(params)
2020-03-05 16:06:25 +00:00
include '../main.nf' params(params)
reads = '../../../../test-datasets/tools/bwa/mem/reads/*_R{1,2}_001.fastq.gz'
index = '../../../../test-datasets/tools/bwa/mem/index/H3N2.{amb,ann,bwt,pac,sa}'
prefix = 'H3N2'
workflow {
read_input=Channel.fromFilePairs(reads)
bwa_mem(read_input,file(index),prefix)
}