mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-02 20:52:07 -05:00
Add tests
This commit is contained in:
parent
2654c52ed1
commit
5f9aa7264e
2 changed files with 40 additions and 0 deletions
21
tests/software/seqkit/split2/main.nf
Normal file
21
tests/software/seqkit/split2/main.nf
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env nextflow
|
||||
|
||||
nextflow.enable.dsl = 2
|
||||
|
||||
include { SEQKIT_SPLIT2 } from '../../../../software/SEQKIT/SPLIT2/main.nf' addParams( options: [:] )
|
||||
|
||||
workflow test_seqkit_split2_single_end {
|
||||
def input = []
|
||||
input = [ [ id:'test', single_end:true ], // meta map
|
||||
file("${launchDir}/tests/data/dna/SRR396636_R1.fastq.gz", checkIfExists: true) ]
|
||||
|
||||
SEQKIT_SPLIT2 ( input )
|
||||
}
|
||||
|
||||
workflow test_seqkit_split2_paired_end {
|
||||
def input = []
|
||||
input = [ [ id:'test', single_end:false ], // meta map
|
||||
file("${launchDir}/tests/data/dna/SRR396636_*", checkIfExists: true) ]
|
||||
|
||||
SEQKIT_SPLIT2 ( input )
|
||||
}
|
19
tests/software/seqkit/split2/test.yml
Normal file
19
tests/software/seqkit/split2/test.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
- name: seqkit split2 single-end
|
||||
command: nextflow run ./tests/software/seqkit/split2 -entry test_seqkit_split2_single_end -c tests/config/nextflow.config
|
||||
tags:
|
||||
- seqkit
|
||||
- seqkit_split2
|
||||
- seqkit_split2_single_end
|
||||
files:
|
||||
- path: output/seqkit/
|
||||
md5sum: a41bfadacd2eeef1d31e05c135cc4f4e
|
||||
|
||||
- name: seqkit split2 paired-end
|
||||
command: nextflow run ./tests/software/seqkit/split2 -entry test_seqkit_split2_paired_end -c tests/config/nextflow.config
|
||||
tags:
|
||||
- seqkit
|
||||
- seqkit_split2
|
||||
- seqkit_split2_paired_end
|
||||
files:
|
||||
- path: output/seqkit/
|
||||
md5sum: a41bfadacd2eeef1d31e05c135cc4f4e
|
Loading…
Reference in a new issue