Specify allosomal contigs in PostprocessGermlineCNVCalls (GATK) - #966
Open
benstory wants to merge 3 commits into
Open
Specify allosomal contigs in PostprocessGermlineCNVCalls (GATK)#966benstory wants to merge 3 commits into
benstory wants to merge 3 commits into
Conversation
…nfiltered Feed UPD/rhocall-viz unfiltered vcfanno output instead of the VEP-filtered VCF
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 4.0.3. For more documentation on how to update your pipeline, please see the Synchronisation documentation. |
|
Collaborator
|
Hi @benstory, just realized that I responded to you in a comment on your issue rather than here in the PR. Your suggestion below, which should enable it for all samples regardless of sex, sounds good to me.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
PostprocessGermlineCNVCallscurrently runs without--allosomal-contig.Per the GATK documentation, any contig not declared as allosomal is assumed
to be autosomal and given the reference copy-number set by
--autosomal-ref-copy-number(default 2). This means X and Y are genotypedagainst a diploid reference regardless of the sample's karyotype, so male
samples get spurious DEL calls across X and Y, and female samples get
spurious calls on Y.
Passing
--allosomal-contiglets GATK take the reference copy-number forthose contigs from the contig ploidy calls produced by
DetermineGermlineContigPloidy, which is what the tool expects.Ref: https://gatk.broadinstitute.org/hc/en-us/articles/360036366292-PostprocessGermlineCNVCalls
Changes
--allosomal-contigtoext.argsfor the postprocessing step inconf/modules/call_sv_germlinecnvcaller.config.params.genome, following the patternalready used for
--haploid_contigsinconf/modules/call_snv_deepvariant.config:X/Yfor GRCh37 andchrX/chrYotherwise.Fixes #965
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile test_singleton,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).