brentp / somalier

fast sample-swap and relatedness checks on BAMs/CRAMs/VCFs/GVCFs... "like damn that is one smart wine guy"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wrong header on relate pairs output

fgvieira opened this issue · comments

The pairs output from somalier relate seems to have an extra ibs2 in the header:

#sample_a       sample_b        relatedness     ibs0    ibs2    hom_concordance hets_a  hets_b  shared_hets     hom_alts_a      hom_alts_b
      shared_hom_alts ibs2    n       x_ibs0  x_ibs2  expected_relatedness

and should be:

#sample_a       sample_b        relatedness     ibs0    ibs2    hom_concordance hets_a  hets_b  shared_hets     hom_alts_a      hom_alts_b
      shared_hom_alts    n       x_ibs0  x_ibs2  expected_relatedness

thanks for reporting. i just pushed a fix for this and i will get out a release early next week.