-
Notifications
You must be signed in to change notification settings - Fork 23
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
compound het variants on non trios #79
Comments
Hi, you can do this by calling variants that are het in the kid (and het or hom-ref in the parent) and then using |
thanks for getting back to me so quickly. I'm having issues trying to get the correct variants from the VCF, I tried: --family-expr 'comphet_side:fam.every(function(s) {return s.het == s.affected && (s.het == !s.affected || s.hom_ref == !s.affected) && s.GQ > 20 })' and only got variants that were het in the child and hom_ref in the parent. so I then tried just calling het in all samples i.e. --family-expr 'comphet_one:fam.every(function(s) {return s.het == s.affected && s.het == !s.affected && s.GQ > 20})', and again got no variants. Any help would be great. Andrew |
I think you'd just want:
|
That worked perfectly. I don't really understand how that retrieved only heterozygous variants in the proband but it did. Thanks again. Andrew |
that should get variants that are hom_ref in the proband and het in the parent. you can also require that it is het in the proband with:
|
That makes sense, thanks for the explanation. Andrew |
Sorry for all the questions. The compound het function is working really well for singletons and duo (as well as trio's). But I'm having an issue when there are multiple affected individuals but no parents. I get all het variants in the affected kids but slivar compound-hets doesn't find any compounds hets. Any ideas? |
can you find an example where there are 2 het variants in the same gene in an affected kid ? if you can share a sample VCF with that (you can change positions and id's to anonymize), then i can have a look. i just ran a test and it should find "compound hets" in a single affected sample. |
I have some examples. This VCF has 2 affected siblings, and the corresponding ped file. I used the command --family-expr 'comphet_side:fam.every(function(s) {return (s.het || s.hom_ref) && s.GQ >= 20 })' and then used slivar compound-hets on the resulting vcf. If see multiple het variants in many genes including OR4C5, TAS2R19, TOE1, STIL and PAPPA2. Thanks. Andrew |
thanks for reporting and the test-case. that file is not decomposed properly. There are lots of warnings from slivar you can look at any of those variants and see that the AD field is not correct. If you'd try the attached binary and let me know if it resolves your issue, I would appreciate it. |
Thanks for the response, and the updated binary file. The binary resolved the issue, so now I have comp het calls for those cases where the parents are in the ped file. As for the issue withe the AD field, I'm aware of the issue which was cause by the original VCF file being normalized without the header being adjusted. Unfortunately I don't have access to another version of the VCF, and I tried to correct using bcftools but couldn't, so it look like I'll have recall variants all my pedigrees. Andrew |
got it. thanks for testing it out. i'll get a new release out with this soon. |
Thanks for this great tool. I'm just transitioning over from gemini and trying to figure things out.
I was wondering if you had any suggestion on calling compound heterozygotes on singletons and duo.
Andrew
The text was updated successfully, but these errors were encountered: