mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +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
|
||||
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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue