Skip to content

Commit

Permalink
Merge pull request #396 from genomic-medicine-sweden/wgsmetricsupdate
Browse files Browse the repository at this point in the history
Add constraints to block the pipeline from running CollectWgsMetrics on WES samples
  • Loading branch information
ramprasadn authored Aug 4, 2023
2 parents 0839494 + cb2dfaf commit b1ad334
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- 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)
- Added constraints to block the pipeline from running CollectWgsMetrics on WES samples [#396](https://github.com/nf-core/raredisease/pull/396)

## v1.1.1 - Abu (Patch) [2023-07-26]

Expand Down
8 changes: 4 additions & 4 deletions conf/modules/qc_bam.config
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,22 @@ process {
}

withName: '.*QC_BAM:PICARD_COLLECTWGSMETRICS' {
ext.when = params.aligner.equals("bwamem2")
ext.when = { params.analysis_type.equals("wgs") && params.aligner.equals("bwamem2") }
ext.prefix = { "${meta.id}_wgsmetrics" }
}

withName: '.*QC_BAM:PICARD_COLLECTWGSMETRICS_Y' {
ext.when = params.aligner.equals("bwamem2")
ext.when = { params.analysis_type.equals("wgs") && params.aligner.equals("bwamem2") }
ext.prefix = { "${meta.id}_wgsmetrics_y" }
}

withName: '.*QC_BAM:SENTIEON_WGSMETRICS' {
ext.when = params.aligner.equals("sentieon")
ext.when = { params.analysis_type.equals("wgs") && params.aligner.equals("sentieon") }
ext.prefix = { "${meta.id}_wgsmetrics" }
}

withName: '.*QC_BAM:SENTIEON_WGSMETRICS_Y' {
ext.when = params.aligner.equals("sentieon")
ext.when = { params.analysis_type.equals("wgs") && params.aligner.equals("sentieon") }
ext.prefix = { "${meta.id}_wgsmetrics_y" }
}
}

0 comments on commit b1ad334

Please sign in to comment.