hifiasm tests init from fastqc

This commit is contained in:
Sviatoslav Sidorov 2021-03-16 11:37:06 +00:00
parent 38b450d0be
commit 2f675fbe7c
2 changed files with 47 additions and 0 deletions

View 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)
}

View 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