Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make target bed file optional for WGS mode #395

Merged
merged 5 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all 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 @@ -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)
- Make target bed file optional for WGS mode (Issue [#375](https://github.com/nf-core/raredisease/issues/375)) [#395](https://github.com/nf-core/raredisease/pull/395)
- 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
10 changes: 5 additions & 5 deletions conf/modules/prepare_references.config
Original file line number Diff line number Diff line change
Expand Up @@ -86,28 +86,28 @@ process {
}

withName: '.*PREPARE_REFERENCES:TABIX_PT' {
ext.when = { params.target_bed && params.target_bed.endsWith(".gz") }
ext.when = { !params.target_bed.equals(null) && params.target_bed.endsWith(".gz") }
}

withName: '.*PREPARE_REFERENCES:TABIX_PBT' {
ext.when = { params.target_bed && !params.target_bed.endsWith(".gz") }
ext.when = { !params.target_bed.equals(null) && !params.target_bed.endsWith(".gz") }
}

withName: '.*PREPARE_REFERENCES:GATK_BILT' {
ext.when = { params.target_bed }
ext.when = { !params.target_bed.equals(null) }
ext.prefix = { "${meta.id}_target" }
}

withName: '.*PREPARE_REFERENCES:GATK_ILT' {
ext.when = { params.target_bed }
ext.when = { !params.target_bed.equals(null) }
ext.args = { "--PADDING ${params.bait_padding} -SUBDIVISION_MODE INTERVAL_SUBDIVISION --SCATTER_COUNT 2" }
publishDir = [
enabled: false
]
}

withName: '.*PREPARE_REFERENCES:CAT_CAT_BAIT' {
ext.when = { params.target_bed }
ext.when = { !params.target_bed.equals(null) }
ext.prefix = { "${meta.id}" }
}

Expand Down
2 changes: 1 addition & 1 deletion conf/modules/qc_bam.config
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ process {
}

withName: '.*QC_BAM:PICARD_COLLECTHSMETRICS' {
ext.when = { params.target_bed }
ext.when = { !params.target_bed.equals(null) }
ext.prefix = { "${meta.id}_hsmetrics" }
}

Expand Down