szpiech / selscan

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

norm xpehh top windows #115

Closed JuanitaGil closed 4 weeks ago

JuanitaGil commented 1 month ago

Hi Zach,

I ran selscan xpehh and normalized the output by windows of 10Kb using the default value of qbins. We have several windows in the top 1% and I was wondering if it's possible to obtain windows in the top 0.5 and 0.1% as well, so that we have less candidate regions to examine.

Thank you! Juanita

szpiech commented 1 month ago

Hi Juanita,

This is a feature I should add to norm, but right now it only reports 1% and 5%. In principle, you can calculate this yourself, by pooling windows using the #nsnp bins and calculating the quantile for each bin. Although I realize this is a bit of a pain. Sorry for the hassle.

Zachary

Le mar. 4 juin 2024 à 09:41, JuanitaGil @.***> a écrit :

Hi Zach,

I ran selscan xpehh and normalized the output by windows of 10Kb using the default value of qbins. We have several windows in the top 1% and I was wondering if it's possible to obtain windows in the top 0.5 and 0.1% as well, so that we have less candidate regions to examine.

Thank you! Juanita

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

JuanitaGil commented 4 weeks ago

Thanks Zach. I can try that.

Juanita