brentp / somalier

fast sample-swap and relatedness checks on BAMs/CRAMs/VCFs/GVCFs... "like damn that is one smart wine guy"
MIT License
254 stars 35 forks source link

Infer siblings with only shared father #104

Closed matthdsm closed 1 year ago

matthdsm commented 1 year ago

Hi Brent

I was wondering if it's possible to infer relatedness between 2 samples who might share the same father. We have 2 donor children with very similar variants and we're wondering if those variants are inherited from the same donor, since the mothers don't share the genotypes.

Thanks M

brentp commented 1 year ago

Hi Matthias, if they have same father and different mothers, they'd be related at 0.25 level, so you should simply be able to check the relatedness value (assuming it's high-quality, high-depth, dense genotypes). Somalier won't infer, but you could verify this also if the mothers appear to be unrelated.

matthdsm commented 1 year ago

Thanks! That's exactly what we got!