Skip to content

Commit a20508b

Browse files
authored
Merge pull request #585 from FriederikeHanssen/fix_spark_for_the_last_time
update spark modules
2 parents 226263b + 08b02ca commit a20508b

File tree

9 files changed

+22
-35
lines changed

9 files changed

+22
-35
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5353
- [#539](https://github.com/nf-core/sarek/pull/539) - Update `CITATIONS.md`
5454
- [#544](https://github.com/nf-core/sarek/pull/544) - `Mutect2` is no longer compatible with `--no_intervals`
5555
- [#551](https://github.com/nf-core/sarek/pull/551) - Sync `TEMPLATE` with `tools` `2.4`
56+
- [#562](https://github.com/nf-core/sarek/pull/562) - Restart from `--step annotate` is now also requiring a CSV file.
5657
- [#563](https://github.com/nf-core/sarek/pull/563) - Updated subway map
5758
- [#571](https://github.com/nf-core/sarek/pull/571) - Including and using GATK4's mergeVcfs
5859
- [#572](https://github.com/nf-core/sarek/pull/572) - Adjusted subway map svg for firefox compatibility
5960
- [#578](https://github.com/nf-core/sarek/pull/578) - Updated module deeptools/bamcoverage
60-
- [#562](https://github.com/nf-core/sarek/pull/562) - Restart from `--step annotate` is now also requiring a CSV file.
61+
- [#585](https://github.com/nf-core/sarek/pull/585) - Remove explicit BAM to CRAM conversion after MarkduplicatesSpark; tool does it internally
6162

6263
### Fixed
6364

@@ -83,6 +84,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8384
- [#524](https://github.com/nf-core/sarek/pull/524) - Fix intervals usage by counting the actual list of scatter/gather files produced and not overall number of intervals
8485
- [#549](https://github.com/nf-core/sarek/pull/549) - Fix unique lanes required for Freebayes: issue [#311](https://github.com/nf-core/sarek/issues/311), replaces `meta.clone()` with actual copy of map to avoid issues with <https://nfcore.slack.com/archives/C027CM7P08M/p1644241819942339>
8586
- [#567](https://github.com/nf-core/sarek/pull/567) - Fix interval name resolving during scatter/gather by moving logic to modules.config causing name to be correctly resolved on process execution; also fixed duplicate naming when variant callers produce multiple vcf files by adding field `type` to `meta` map
87+
- [#585](https://github.com/nf-core/sarek/pull/585) - Fix Spark usage for GATK4 modules.
8688

8789
### Deprecated
8890

conf/modules.config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,7 @@ process {
339339

340340
withName: 'GATK4_MARKDUPLICATES_SPARK' {
341341
ext.args = '--remove-sequencing-duplicates false -VS LENIENT'
342-
//TODO after step markduplicates we only deal with cram now, so this is not necessary, fix in PR that updates spark modules
343-
ext.prefix = { !(params.skip_tools && (params.skip_tools.contains('bamqc') || params.skip_tools.contains('deeptools'))) ? "${meta.id}.md.bam" : "${meta.id}.md.cram" }
342+
ext.prefix = { "${meta.id}.md.cram" }
344343
publishDir = [
345344
mode: params.publish_dir_mode,
346345
path: { "${params.outdir}/preprocessing/${meta.id}/markduplicates" },

modules.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"git_sha": "169b2b96c1167f89ab07127b7057c1d90a6996c7"
8989
},
9090
"gatk4/applybqsrspark": {
91-
"git_sha": "169b2b96c1167f89ab07127b7057c1d90a6996c7"
91+
"git_sha": "6a4732ef3b76b54d75533e6be9ba57e3008d4853"
9292
},
9393
"gatk4/applyvqsr": {
9494
"git_sha": "169b2b96c1167f89ab07127b7057c1d90a6996c7"
@@ -97,7 +97,7 @@
9797
"git_sha": "169b2b96c1167f89ab07127b7057c1d90a6996c7"
9898
},
9999
"gatk4/baserecalibratorspark": {
100-
"git_sha": "fd7ee6799abf1bd5228b4b59ce541f3aeaa2280b"
100+
"git_sha": "6a4732ef3b76b54d75533e6be9ba57e3008d4853"
101101
},
102102
"gatk4/calculatecontamination": {
103103
"git_sha": "169b2b96c1167f89ab07127b7057c1d90a6996c7"
@@ -139,7 +139,7 @@
139139
"git_sha": "df2620cfc7e4c21b14ed03c1c928f09fbabf83c4"
140140
},
141141
"gatk4/markduplicatesspark": {
142-
"git_sha": "e04970b7d249365cafa5a52912f9a28840481c05"
142+
"git_sha": "8e8f4c9c51a7b229dd45e9b287d48115c238baf3"
143143
},
144144
"gatk4/mergemutectstats": {
145145
"git_sha": "169b2b96c1167f89ab07127b7057c1d90a6996c7"

modules/nf-core/modules/gatk4/applybqsrspark/main.nf

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/modules/gatk4/baserecalibratorspark/main.nf

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/modules/gatk4/markduplicatesspark/main.nf

Lines changed: 7 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/modules/gatk4/markduplicatesspark/meta.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ profiles {
144144
}
145145
docker {
146146
docker.enabled = true
147-
docker.userEmulation = true
147+
docker.userEmulation = { use_gatk_spark ? false : true }
148148
singularity.enabled = false
149149
podman.enabled = false
150150
shifter.enabled = false

subworkflows/nf-core/gatk4/markduplicates_spark/main.nf

Lines changed: 2 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)