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

Legend results in relatedness plot #117

Closed solcos closed 11 months ago

solcos commented 11 months ago

Hello!

I am quite new to the field and Somalier. Maybe it is a very basic question but, I have doubts on how to interpret the legend of the relatedness plot of the 'somalier.html'. Regarding the image below, I undestand all the different groups except '0.250', can you explain what is referring to?

Thanks in advance!

image

brentp commented 11 months ago

Hi, you can read about the relatedness value here: https://en.wikipedia.org/wiki/Coefficient_of_relationship note that relatedness is 2*kinship coefficient. a value of 0.25 would be, for example grandparent to grand child or uncle to niece. The colors (and the coefficents they represent) are determined by the relationships in your pedigree file.

solcos commented 11 months ago

Thank you for your fast response! :)