nf-core_modules/tests/modules/fq/lint/main.nf
Adam Talbot 7bfbce94b0
Added fq/lint module (#1968)
* Added fq/lint module

Additions:
 - fq/lint module, which checks paired end FASTQ files and confirms they
 are valid.

Relates to #1967

* fq/lint linting

* Correct Singularity image

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>

Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se>
2022-08-24 10:20:39 +02:00

31 lines
837 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { FQ_LINT } from '../../../../modules/fq/lint/main.nf'
workflow test_fq_lint_success {
input = [
[ id:'test', single_end:false ], // meta map
[
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true)
]
]
FQ_LINT ( input )
}
workflow test_fq_lint_fail {
input = [
[ id:'test', single_end:false ], // meta map
[
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
file(params.test_data['candidatus_portiera_aleyrodidarum']['illumina']['test_2_fastq_gz'], checkIfExists: true)
]
]
FQ_LINT ( input )
}