Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [1695](https://github.com/nf-core/sarek/pull/1695) - Fix and update input_schema.json
- [1702](https://github.com/nf-core/sarek/pull/1702) - Update nf-schema tests that were not failing on lenient mode
- [1712](https://github.com/nf-core/sarek/pull/1712) - Fix missing import statements on error messages when starting without samplesheet
- [1733](https://github.com/nf-core/sarek/pull/1733) - Use original quality values if DeepVariant is run on recalibrated data

### Removed

Expand Down
5 changes: 4 additions & 1 deletion conf/modules/deepvariant.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
process {

withName: 'DEEPVARIANT_RUNDEEPVARIANT' {
ext.args = { params.wes ? "--model_type=WES" : "--model_type=WGS" }
ext.args = [
params.wes ? "--model_type=WES" : "--model_type=WGS" ,
!params.skip_tools.contains("baserecalibrator") ? "--parse_sam_aux_fields --use_original_quality_scores" : ''
].join(' ').trim()
ext.prefix = { meta.num_intervals <= 1 ? "${meta.id}.deepvariant" : "${meta.id}.deepvariant.${intervals.baseName}" }
ext.when = { params.tools && params.tools.split(',').contains('deepvariant') }
publishDir = [
Expand Down
Loading