Add main test script

This commit is contained in:
drpatelh 2020-08-07 12:56:39 +01:00
parent 375af1428e
commit f367f9ef69

View file

@ -1,16 +1,13 @@
#!/usr/bin/env nextflow
nextflow.preview.dsl = 2
include '../../../tests/functions/check_process_outputs.nf' params(params)
include '../main.nf' params(params)
// Define input channels
input = '../../../test-datasets/tools/bwa/index/input/reference.fasta'
Channel
.from(input)
.set { ch_input }
nextflow.enable.dsl = 2
// Run the workflow
workflow {
fastqc(ch_input)
// .check_output()
include { BWA_INDEX } from '../main.nf'
workflow test {
BWA_INDEX ( file("${baseDir}/input/NC_010473.fa", checkIfExists: true), [:] )
}
workflow {
test()
}