mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 12:43:09 +00:00
83a500e6b0
* Re-organise all test data * Fix ECLint * Fix ECLint agaaainn * Now is not the time EClint * Initial commit for test data config * Rename test data * Include test config * Update indents * Update test for FastQC via config * Remove quotes of bottom-level variables * Use underscores in key names * Get tests working for fastp * Remove whitespace at beginning of file
29 lines
792 B
Text
29 lines
792 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { FASTP } from '../../../software/fastp/main.nf' addParams( options: [:] )
|
|
|
|
/*
|
|
* Test with single-end data
|
|
*/
|
|
workflow test_fastp_single_end {
|
|
input = [ [ id:'test', single_end:true ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true) ]
|
|
]
|
|
|
|
FASTP ( input )
|
|
}
|
|
|
|
/*
|
|
* Test with paired-end data
|
|
*/
|
|
workflow test_fastp_paired_end {
|
|
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) ]
|
|
]
|
|
|
|
FASTP ( input )
|
|
}
|
|
|