evotools / hapbin

Efficient program for calculating Extended Haplotype Homozygosity (EHH) and Integrated Haplotype Score (iHS)
GNU General Public License v3.0
41 stars 18 forks source link

Print iHH0, iHH1, iHHA, and iHHB #20

Closed stephenrong closed 8 years ago

stephenrong commented 8 years ago

Is there a way to print the intermediate iHH0, iHH1, iHHA, and iHHB values for computing iHS and XPEHH?

prenderj commented 8 years ago

Hi

At present these aren't output. But it would be relatively easy to fork the code and adapt it to output these. For example for iHS these are stored in the ehh.iHH_d and ehh.iHH_a variables in ihsfinder.cpp so would just need to print these.

Hopefully that helps

James