ultimatesource / denovogear

A program to detect denovo-variants using next-generation sequencing data.
http://www.nature.com/nmeth/journal/v10/n10/full/nmeth.2611.html
GNU General Public License v3.0
49 stars 25 forks source link

Why 414 and other question about DNG math #312

Open pd3 opened 3 years ago

pd3 commented 3 years ago

Hi, I was looking at the DNG math and the implementation and can't figure out where the 414 term in this expression https://github.com/ultimatesource/denovogear/blob/develop/src/dnm/makeLookup.cc#L260 comes from? The comment suggest that 414 is the number of all triallelic cases, but I don't think that is true, as there are 552 trio configurations with 3 alleles.

reedacartwright commented 3 years ago

Honestly, I don't know. At this point the DNM code is over ten years old, and the people who developed the model haven't been active with DNG development for years.

pd3 commented 3 years ago

Thank you. I am adding more questions in case someone could explain:

For male chrX inheritance there are incorrect priors assigned, I believe they are simply bugs in the code. So far I discovered these three: