mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
7bfbce94b0
* 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>
31 lines
837 B
Text
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 )
|
|
}
|