mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
36049bf544
* fix samtools stats thread usage * fix samtools stats thread usage (#1975) * fix samtools stats thread usage * fix checksums * Fix/samtools flagstat (#1979) * fix samtools stats thread usage * flagstat: fix threads * Update busco to v5.4.3 and tar small files (#1970) * Update busco to v5.4.3 and tar small files * Fix file contain strings * Swap md5sums to contains for variable files * Simplify and generalize module * add test.yml * Update modules/fgbio/fastqtobam/meta.yml Co-authored-by: Moritz E. Beber <midnighter@posteo.net> * add support + tests for cram output * more tweaks * update test.yml * prettier * try to fix tests * fix tests * prettier * drop checksum for cram Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se> Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
83 lines
2.3 KiB
Text
83 lines
2.3 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { FGBIO_FASTQTOBAM } from '../../../../modules/fgbio/fastqtobam/main.nf'
|
|
|
|
workflow test_fgbio_fastqtobam_paired_default {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
[
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
}
|
|
|
|
|
|
workflow test_fgbio_fastqtobam_paired_cram {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
[
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
}
|
|
|
|
workflow test_fgbio_fastqtobam_paired_bam {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
[
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
}
|
|
|
|
workflow test_fgbio_fastqtobam_single {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
[
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
]
|
|
]
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
}
|
|
|
|
workflow test_fgbio_fastqtobam_paired_umi {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
[
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
}
|
|
|
|
workflow test_fgbio_fastqtobam_paired_custom_samplename {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
[
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
}
|