mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 06:03:10 +00:00
ee46c19d03
* add Picard FastqToSam * Update test.yml * update tests * possible fix? * fixed! * Update modules/picard/fastqtosam/main.nf Co-authored-by: Moritz E. Beber <midnighter@posteo.net> * Update modules/picard/fastqtosam/main.nf Co-authored-by: Moritz E. Beber <midnighter@posteo.net> * simplify tests * fix tests * revert version check Co-authored-by: CMGG ICT Team <ict@cmgg.be> Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { PICARD_FASTQTOSAM } from '../../../../modules/picard/fastqtosam/main.nf'
|
|
|
|
workflow test_picard_fastqtosam_single {
|
|
|
|
input = [
|
|
[ id:'test', single_end:true ], // meta map
|
|
[
|
|
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
PICARD_FASTQTOSAM ( input )
|
|
}
|
|
|
|
workflow test_picard_fastqtosam_paired {
|
|
|
|
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)
|
|
]
|
|
]
|
|
|
|
PICARD_FASTQTOSAM ( input )
|
|
}
|
|
|
|
workflow test_picard_fastqtosam_paired_custom_samplename {
|
|
|
|
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)
|
|
]
|
|
]
|
|
|
|
PICARD_FASTQTOSAM ( input )
|
|
}
|