mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
Add main test script
This commit is contained in:
parent
375af1428e
commit
f367f9ef69
1 changed files with 9 additions and 12 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue