Clinical-Genomics / genmod

Annotate models of genetic inheritance patterns in variant files (vcf files)
http://moonso.github.io/genmod/
MIT License
74 stars 18 forks source link

Compound is missed if one parent is genotyped for each variant #99

Open bartcharbon opened 3 years ago

bartcharbon commented 3 years ago

We have a probably rather rare situation: After quality checks we end up with two variant in one gene:

This is possibly a comp_het, however it is missed by Genmod.

I changed the missing parent GT's in a testfile to 0/0 to confirm it works as expected in that case, and indeed: Genmod then marks the variants a compounds.

moonso commented 3 years ago

Ok I will create a test case to replicate the situation

dennishendriksen commented 3 years ago

@moonso we have been running into this issue a couple of times. are you still planning to look into this issue?

moonso commented 3 years ago

Hi, sorry for taking so long. I will try to find time and look into this as soon as possible. Get back when there is a time estimate

dennishendriksen commented 3 years ago

No problem. I'm not proficient in Python (yet), but if there is anything I can do to help please let me know :)