szpiech / selscan

Haplotype based scans for selection
GNU General Public License v3.0
111 stars 33 forks source link

header of output by norm #109

Open QianXiaobo opened 5 months ago

QianXiaobo commented 5 months ago

Hi there,

I used norm to normalize ihs output by norm --ihs --bp-win --min-snps 10 --winsize 100000 --files chr{1..22}.ihs.out. e.g.

17300001        17400001        31      0       100     1
17400001        17500001        142     0.0211268       100     2

I guess it means <start> <end> <number of snps> <frac of extreme score> <x% top> <???>. My question is what is the last column meaning? I am sorry I can't find the explaining in manual.

Could you please add header for other scores from norm? If it already there but I missed, I am very sorry for that.

Bests, Xiaobo

szpiech commented 5 months ago

Hello,

Sorry about this. This is supposed to be the maximum absolute iHS score found in this window, although it is a little buggy at the moment. It currently outputs this as a truncated integer instead of a floating point value.

-Zachary

On Thu, Apr 11, 2024 at 11:32 PM XB @.***> wrote:

Hi there,

I used norm to normalize ihs output by norm --ihs --bp-win --min-snps 10 --winsize 100000 --files chr{1..22}.ihs.out. e.g.

17300001 17400001 31 0 100 1 17400001 17500001 142 0.0211268 100 2

I guess it means <x% top> <???>. My question is what is the last column meaning? I am sorry I can't find the explaining in manual.

Could you please add header for other scores from norm? If it already there but I missed, I am very sorry for that.

Bests, Xiaobo

— Reply to this email directly, view it on GitHub https://github.com/szpiech/selscan/issues/109, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAKRQTVSLEVEPBOWXAQ4WDY45IURAVCNFSM6AAAAABGDMQVUSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTQOJXHE4DAMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>