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

unspecified parent #40

Open brentp opened 4 years ago

brentp commented 4 years ago

given a pedigree with a missing parent like:

fam mom 0   0   2   2
fam kid1    0   mom 2   2
fam kid2    0   mom 2   2

somalier will give an expected relatedness of 0.25 to kid1 and kid2. It's probably more common that they will have the same father and therefore have an expected relatedness of 0.5.