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

Fixing exome flag with Manta #1149

Merged
merged 6 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from 4 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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- [#1143](https://github.com/nf-core/sarek/pull/1143) - `snpeff_db` is now a string
- [#1145](https://github.com/nf-core/sarek/pull/1145) - Fixed Zenodo links in `README.md` and in `WorkflowMain.groovy`
- [#1149](https://github.com/nf-core/sarek/pull/1149) - Update `Manta` modules and fix usage of exome flag

## [3.2.3](https://github.com/nf-core/sarek/releases/tag/3.2.3) - Gällivare

Expand Down Expand Up @@ -1217,7 +1218,7 @@ Ruotes is one of the main massif in the Sarek National Park.
- [#607](https://github.com/SciLifeLab/Sarek/pull/607) - Update to `GATK4`
- [#608](https://github.com/SciLifeLab/Sarek/pull/608) - Update `Nextflow` required version
- [#616](https://github.com/SciLifeLab/Sarek/pull/616) - Update `CHANGELOG`
- [#617](https://github.com/SciLifeLab/Sarek/pull/617) - Replace deprecated `Nextflow ``$name` syntax with `withName`
- [#617](https://github.com/SciLifeLab/Sarek/pull/617) - Replace deprecated ` Nextflow ``$name ` syntax with `withName`
maxulysse marked this conversation as resolved.
Show resolved Hide resolved

### Fixed

Expand Down
21 changes: 10 additions & 11 deletions conf/modules/manta.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,15 @@
// MANTA

process {

withName: 'MANTA.*' {
ext.args = { params.wes ? "--exome" : "" }
ext.prefix = { "${meta.id}.manta" }
ext.when = { params.tools && params.tools.split(',').contains('manta') }
publishDir = [
mode: params.publish_dir_mode,
path: { "${params.outdir}/variant_calling/manta/${meta.id}" },
pattern: "*{diploid_sv,tumor_sv,somatic_sv}.{vcf.gz,vcf.gz.tbi}"
]
if (params.tools && params.tools.split(',').contains('manta')) {
withName: 'MANTA_GERMLINE|MANTA_TUMORONLY|MANTA_SOMATIC' {
ext.args = { params.wes ? "--exome" : "" }
ext.prefix = { "${meta.id}.manta" }
publishDir = [
mode: params.publish_dir_mode,
path: { "${params.outdir}/variant_calling/manta/${meta.id}" },
pattern: "*{diploid_sv,tumor_sv,somatic_sv}.{vcf.gz,vcf.gz.tbi}"
]
}
}

}
4 changes: 2 additions & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,12 @@
},
"manta/somatic": {
"branch": "master",
"git_sha": "80dbd95c558a0ebb2123d95f50c093a7f714a0d7",
"git_sha": "b178a8cc4b8d38b9dc2d0a1e6a9b63e6786ce263",
"installed_by": ["modules"]
},
"manta/tumoronly": {
"branch": "master",
"git_sha": "80dbd95c558a0ebb2123d95f50c093a7f714a0d7",
"git_sha": "b178a8cc4b8d38b9dc2d0a1e6a9b63e6786ce263",
"installed_by": ["modules"]
},
"mosdepth": {
Expand Down
3 changes: 2 additions & 1 deletion modules/nf-core/manta/somatic/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion modules/nf-core/manta/tumoronly/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include { MANTA_GERMLINE } from '../../../modules/nf-core/manta/germline/main'
include { MANTA_GERMLINE } from '../../../modules/nf-core/manta/germline/main'

// Seems to be the consensus on upstream modules implementation too
workflow BAM_VARIANT_CALLING_GERMLINE_MANTA {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include { MANTA_SOMATIC } from '../../../modules/nf-core/manta/somatic/main'
include { MANTA_SOMATIC } from '../../../modules/nf-core/manta/somatic/main'

workflow BAM_VARIANT_CALLING_SOMATIC_MANTA {
take:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include { MANTA_TUMORONLY } from '../../../modules/nf-core/manta/tumoronly/main'
include { MANTA_TUMORONLY } from '../../../modules/nf-core/manta/tumoronly/main'

// Seems to be the consensus on upstream modules implementation too
workflow BAM_VARIANT_CALLING_TUMOR_ONLY_MANTA {
Expand Down
Loading