diff --git a/CHANGELOG.md b/CHANGELOG.md index 7399915b..ab9e831b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### `Fixed` - Invalid GATK4 container which caused incorrect singularity downloads with nf-core download [nf-core/modules #3668](https://github.com/nf-core/modules/issues/3668) +- Make the default cram prefix same as markduplicates prefix [#392](https://github.com/nf-core/raredisease/pull/392) ## v1.1.1 - Abu (Patch) [2023-07-26] diff --git a/conf/modules/align.config b/conf/modules/align.config index 249dc81e..54dae858 100644 --- a/conf/modules/align.config +++ b/conf/modules/align.config @@ -19,8 +19,9 @@ process{ } withName: '.*ALIGN:SAMTOOLS_VIEW' { - ext.args = { '--output-fmt cram --write-index' } - ext.when = params.save_mapped_as_cram + ext.args = { '--output-fmt cram --write-index' } + ext.prefix = { "${meta.id}_sorted_md" } + ext.when = params.save_mapped_as_cram publishDir = [ path: { "${params.outdir}/alignment" }, mode: params.publish_dir_mode,