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

Replace local version of sentieon-locuscollector and sentieon-dedup #401

Merged
merged 5 commits into from
Aug 14, 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 @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Installed the nf-core version of the sentieon/bwamem module [#398](https://github.com/nf-core/raredisease/pull/398)
- Installed the nf-core version of the sentieon/readwriter module [#399](https://github.com/nf-core/raredisease/pull/399)
- Installed the nf-core version of the sentieon/datametrics module [#400](https://github.com/nf-core/raredisease/pull/400)
- Installed the nf-core version of the sentieon/dedup module. The dedup module also contains a call to Sentieon's LocusCollector [#401](https://github.com/nf-core/raredisease/pull/401)

### `Fixed`

Expand Down
4 changes: 0 additions & 4 deletions conf/modules/align_sentieon.config
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ process {
ext.prefix = { "${meta.id}_merged" }
}

withName: '.*ALIGN:ALIGN_SENTIEON:SENTIEON_LOCUSCOLLECTOR' {
ext.prefix = { "${meta.id}_locuscollector" }
}

withName: '.*ALIGN:ALIGN_SENTIEON:SENTIEON_DEDUP' {
ext.args = { $params.rmdup ? "--rmdup" : '' }
ext.prefix = { "${meta.id}_dedup" }
Expand Down
5 changes: 5 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@
"git_sha": "127edadc279e19da093fdd513926c6cdee82c306",
"installed_by": ["modules"]
},
"sentieon/dedup": {
"branch": "master",
"git_sha": "915a0b16ba3e40ef59e7b44843b3118e17a9c906",
"installed_by": ["modules"]
},
"sentieon/readwriter": {
"branch": "master",
"git_sha": "b28e4dde755117e8dab5d6e85e292f145b8b53c3",
Expand Down
60 changes: 0 additions & 60 deletions modules/local/sentieon/dedup.nf

This file was deleted.

52 changes: 0 additions & 52 deletions modules/local/sentieon/locuscollector.nf

This file was deleted.

86 changes: 86 additions & 0 deletions modules/nf-core/sentieon/dedup/main.nf

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

88 changes: 88 additions & 0 deletions modules/nf-core/sentieon/dedup/meta.yml

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

13 changes: 2 additions & 11 deletions subworkflows/local/alignment/align_sentieon.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

include { SENTIEON_BWAMEM } from '../../../modules/nf-core/sentieon/bwamem/main'
include { SENTIEON_DATAMETRICS } from '../../../modules/nf-core/sentieon/datametrics/main'
include { SENTIEON_LOCUSCOLLECTOR } from '../../../modules/local/sentieon/locuscollector'
include { SENTIEON_DEDUP } from '../../../modules/local/sentieon/dedup'
include { SENTIEON_DEDUP } from '../../../modules/nf-core/sentieon/dedup/main'
include { SENTIEON_BQSR } from '../../../modules/local/sentieon/bqsr'
include { SENTIEON_READWRITER } from '../../../modules/nf-core/sentieon/readwriter/main'
workflow ALIGN_SENTIEON {
Expand Down Expand Up @@ -45,14 +44,7 @@ workflow ALIGN_SENTIEON {

SENTIEON_DATAMETRICS (ch_bam_bai, ch_genome_fasta, ch_genome_fai )

SENTIEON_LOCUSCOLLECTOR ( ch_bam_bai )

ch_bam_bai
.join(SENTIEON_LOCUSCOLLECTOR.out.score, failOnMismatch:true, failOnDuplicate:true)
.join(SENTIEON_LOCUSCOLLECTOR.out.score_idx, failOnMismatch:true, failOnDuplicate:true)
.set { ch_bam_bai_score }

SENTIEON_DEDUP ( ch_bam_bai_score, ch_genome_fasta, ch_genome_fai )
SENTIEON_DEDUP ( ch_bam_bai, ch_genome_fasta, ch_genome_fai )

if (params.variant_caller == "sentieon") {
SENTIEON_DEDUP.out.bam
Expand All @@ -67,7 +59,6 @@ workflow ALIGN_SENTIEON {

ch_versions = ch_versions.mix(SENTIEON_BWAMEM.out.versions.first())
ch_versions = ch_versions.mix(SENTIEON_DATAMETRICS.out.versions.first())
ch_versions = ch_versions.mix(SENTIEON_LOCUSCOLLECTOR.out.versions.first())
ch_versions = ch_versions.mix(SENTIEON_DEDUP.out.versions.first())

emit:
Expand Down