Skip to content

Commit

Permalink
Merge pull request #741 from FriederikeHanssen/issue_737
Browse files Browse the repository at this point in the history
don't use freebayes for bcftools sort on joint germline
  • Loading branch information
FriederikeHanssen authored Sep 8, 2022
2 parents f944d43 + bcfb73e commit 6fc7d5f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#727](https://github.com/nf-core/sarek/pull/727) - Allow `.list` interval files; remove `seconds` from GRCh38 file to allow `--nucleotides_per_second` to be used
- [#728](https://github.com/nf-core/sarek/pull/728) - Circumvent issue with controlfreec and length file containing regions not in intervals file
- [#729](https://github.com/nf-core/sarek/pull/729) - Trailing commas in `--tools`, `--skip_tools` and `--use_gatk_spark` now raise failure cf [#722](https://github.com/nf-core/sarek/issues/722)
- [#741](https://github.com/nf-core/sarek/pull/741) - Fix prefix for `bcftools sort` for joint germline variant calling

### Deprecated

Expand Down
9 changes: 8 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -758,14 +758,21 @@ process{
}

withName: 'GATK4_GENOMICSDBIMPORT' {
ext.prefix = { meta.num_intervals > 1 ? meta.intervals_name : "joint_interval" }
ext.prefix = { meta.num_intervals > 1 ? "${meta.intervals_name}.joint" : "joint" }
ext.when = { params.tools && params.tools.split(',').contains('haplotypecaller') && params.joint_germline && !params.no_intervals}
}

withName: 'GATK4_GENOTYPEGVCFS' {
ext.prefix = { meta.num_intervals > 1 ? meta.intervals_name : "joint_germline" }
}

withName: 'NFCORE_SAREK:SAREK:GERMLINE_VARIANT_CALLING:RUN_HAPLOTYPECALLER:JOINT_GERMLINE:BCFTOOLS_SORT' {
ext.prefix = { meta.num_intervals <= 1 ? "${meta.id}.joint.sort" : "${vcf.minus("vcf.gz")}.sort" }
publishDir = [
enabled: false
]
}

withName: 'MERGE_GENOTYPEGVCFS' {
ext.prefix = "joint_germline"
publishDir = [
Expand Down

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

0 comments on commit 6fc7d5f

Please sign in to comment.