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 #!/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 nextflow.enable.dsl = 2
input = '../../../test-datasets/tools/bwa/index/input/reference.fasta'
Channel
.from(input)
.set { ch_input }
// Run the workflow include { BWA_INDEX } from '../main.nf'
workflow {
fastqc(ch_input) workflow test {
// .check_output() BWA_INDEX ( file("${baseDir}/input/NC_010473.fa", checkIfExists: true), [:] )
}
workflow {
test()
} }