nf-core_modules/tests/modules/fgbio/fastqtobam/nextflow.config
Matthias De Smet 36049bf544
Fgbio/fastqtobam (#1980)
* 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>
2022-09-05 11:57:55 +02:00

16 lines
628 B
Text

process {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
withName: "test_fgbio_fastqtobam_paired_cram:FGBIO_FASTQTOBAM" {
ext.prefix = {"${meta.id}.cram"}
}
withName: "test_fgbio_fastqtobam_paired_bam:FGBIO_FASTQTOBAM" {
ext.prefix = {"${meta.id}.bam"}
}
withName: "test_fgbio_fastqtobam_paired_umi:FGBIO_FASTQTOBAM" {
ext.args = "--read-structures +T 12M11S+T"
}
withName: "test_fgbio_fastqtobam_paired_custom_samplename:FGBIO_FASTQTOBAM" {
ext.args = "--sample CustomSample --library CustomLibrary"
}
}