Open brentp opened 2 years ago
For 3. consider two SVs/STRs in the same gene as well.
I believe current slivar comphet strategies rely on both of the variants being "damaging" for inclusion, but when dealing with SVs/STRs this might need to be relaxed since many VCFs of these variants do not include such impact predictions. Plus, as an example, while likely not categorized as "damaging", an intronic SV combined with a "damaging" SNV might be a combination worth considering.
Current slivar compound-hets is actually agnostic to lenient about impact, you can set --skip to empty to include all possible types, and then you could include pairs of intronic variants if you so choose. The logic for SVs will be such that any included SV present in the sample will be considered.
This is to track a new tool for more exhaustive support for compound heterozygotes. The current tool supports probably 90% of use-cases.
Other uses include:
other uses-cases and feedback welcome.
Plan
Plan is to build a new tools
slivar ch
.slivar ch
extracts only variants withkid_ch
and checks thatparent_ch
is present in exactly one parent when grouped bygroupby
. This requires that the SV VCF has a CSQ that matches that from bcftools or snpEff or VEP.This can cover use-cases in #138 as the user can specify a
--sample-expr 'parent_ch:...'
that allows for homozygous variants in the parent.slivar ch
must only check for the parents that one variant is hom-ref and the other is not (don't check het).