mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-25 12:08:16 +00:00
hifiasm tests init from fastqc
This commit is contained in:
parent
38b450d0be
commit
2f675fbe7c
2 changed files with 47 additions and 0 deletions
28
tests/software/hifiasm/main.nf
Normal file
28
tests/software/hifiasm/main.nf
Normal file
|
@ -0,0 +1,28 @@
|
|||
#!/usr/bin/env nextflow
|
||||
|
||||
nextflow.enable.dsl = 2
|
||||
|
||||
include { FASTQC } from '../../../software/fastqc/main.nf' addParams( options: [:] )
|
||||
|
||||
/*
|
||||
* Test with single-end data
|
||||
*/
|
||||
workflow test_fastqc_single_end {
|
||||
|
||||
def input = []
|
||||
input = [ [ id:'test', single_end:true ], // meta map
|
||||
[ file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true) ] ]
|
||||
FASTQC ( input )
|
||||
}
|
||||
|
||||
/*
|
||||
* Test with paired-end data
|
||||
*/
|
||||
workflow test_fastqc_paired_end {
|
||||
|
||||
def input = []
|
||||
input = [[id: 'test', single_end: false], // meta map
|
||||
[file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true),
|
||||
file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_2.fastq.gz", checkIfExists: true)]]
|
||||
FASTQC (input)
|
||||
}
|
19
tests/software/hifiasm/test.yml
Normal file
19
tests/software/hifiasm/test.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
- name: fastqc single-end
|
||||
command: nextflow run ./tests/software/fastqc/ -entry test_fastqc_single_end -c tests/config/nextflow.config
|
||||
tags:
|
||||
- fastqc
|
||||
- fastqc_single_end
|
||||
files:
|
||||
- path: ./output/fastqc/test_fastqc.html
|
||||
- path: ./output/fastqc/test_fastqc.zip
|
||||
|
||||
- name: fastqc paired-end
|
||||
command: nextflow run ./tests/software/fastqc/ -entry test_fastqc_paired_end -c tests/config/nextflow.config
|
||||
tags:
|
||||
- fastqc
|
||||
- fastqc_paired_end
|
||||
files:
|
||||
- path: ./output/fastqc/test_1_fastqc.html
|
||||
- path: ./output/fastqc/test_2_fastqc.html
|
||||
- path: ./output/fastqc/test_2_fastqc.zip
|
||||
- path: ./output/fastqc/test_1_fastqc.zip
|
Loading…
Reference in a new issue