diff --git a/software/SOFTWARE/TOOL/test/main.nf b/software/SOFTWARE/TOOL/test/main.nf new file mode 100644 index 00000000..13fef901 --- /dev/null +++ b/software/SOFTWARE/TOOL/test/main.nf @@ -0,0 +1,15 @@ +#!/usr/bin/env nextflow + +nextflow.enable.dsl = 2 + +include '../../../../tests/functions/check_process_outputs.nf' params(params) +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) +} diff --git a/software/SOFTWARE/TOOL/test/nextflow.config b/software/SOFTWARE/TOOL/test/nextflow.config new file mode 100644 index 00000000..c137a138 --- /dev/null +++ b/software/SOFTWARE/TOOL/test/nextflow.config @@ -0,0 +1,2 @@ +docker.enabled = true +params.outdir = './results'