Added the ”—ihs-detail" parameter to optionally write full iHH information for each locus of an iHS calculation: left and right integrals for ancestral and derived iHH. #13
To fulfill issue #12, I've added the --ihs-detail parameter which, when provided as an adjunct to --ihs, will cause selscan to write out four additional columns to the output file of iHS calculations (in order): derived_ihh_left, derived_ihh_right, ancestral_ihh_left, and ancestral_ihh_right.
An example file row follows, with header added for clarity.
From these values we can calculate iHS, but it is preserved in the output for convenience. Having left and right integral information may assist certain machine learning models that gain information from iHH asymmetry.
To fulfill issue #12, I've added the
--ihs-detail
parameter which, when provided as an adjunct to--ihs
, will cause selscan to write out four additional columns to the output file of iHS calculations (in order): derived_ihh_left, derived_ihh_right, ancestral_ihh_left, and ancestral_ihh_right.An example file row follows, with header added for clarity.
From these values we can calculate iHS, but it is preserved in the output for convenience. Having left and right integral information may assist certain machine learning models that gain information from iHH asymmetry.