diff --git a/CHANGELOG.md b/CHANGELOG.md index bf8b6a95..801befcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Changes 1. Renamed the `tbi` samplesheet field to `gtbi` to make it more clear that this is the index of the GVCF file. +2. Process_bed module: add sorting step + git HyperCap profile more memory. ## v1.11.0 - Generous Ghent - [Sept 1 2025] diff --git a/conf/hypercap.config b/conf/hypercap.config index 9ce274d8..e59fc600 100644 --- a/conf/hypercap.config +++ b/conf/hypercap.config @@ -9,3 +9,8 @@ params { scatter_count = 5 only_pass = true } +process { + withName: PROCESS_BEDS { + memory = 64.GB + } +} diff --git a/modules/local/process_beds/main.nf b/modules/local/process_beds/main.nf index ae633b76..22e174f8 100644 --- a/modules/local/process_beds/main.nf +++ b/modules/local/process_beds/main.nf @@ -27,6 +27,7 @@ process PROCESS_BEDS { """ ${unzip} ${bed} \\ | grep ${args} \\ + | bedtools sort -faidx ${fai} \\ | bedtools merge ${args2} \\ ${intersect} \\ > ${prefix}.bed