Skip to content

Question: XP-nSL maf filtering and interpretation of normalisation #147

Description

@erwan-029

Dear Prof. Szpiech,

Thank you very much for the release of version v2.1.0 of selscan, very fast indeed, useful for rerunning analyses when attempting to figure out what going on.

Despite reading some related issues, I would still appreciate your input on few questions regarding XP-nSL.

I understand that XP-nSL, by default, doesn't use any MAF filtering (re issue #59) and it seems the flag --maf 0.05 is not having any impact either. Is there now any native option in selscan for doing that, à la nSL? I'm asking because I've ran XP-nSL on 1KGP data, comparing BEB to CEU, and one of the top hits has an allele count of 1 in BEB, which seems quite unlikely to be anything truly genuine.

I’ve used the same parameters as in the Szpiech et al. 2021 for normalisation (see an example below of the output), but maybe I haven’t looked at the results in the right way. I’ve calculated the top 1% cutoff from the “fracAbove” <= 0 values distribution and then, within windows with a “fracAbove” above that threshold, I looked only at variants that had a “normedxpnsl” above the top 1% cutoff from its absolute distribution.

In short, it’s probably advisable to filter rare/very rare alleles, isn’t it and what is the proper way to filter the hits?

Thank you in advance for your understanding.

norm v1.3.1
You have provided 22 output files for joint normalization.
[…]

Total loci: 59560256
Reading all data.
Calculating mean and variance:

num mean variance
58809178 -0.0400236 0.00764802
[…]

Analyzing BP windows:

26740 windows with nSNPs >= 10.

High Scores
nSNPs 1.0 5.0
1875.9 0.464058 0.168618
1988 0.447101 0.132186
2067 0.400989 0.109858
2139 0.350682 0.114374
2203 0.347796 0.132649
2274 0.334948 0.119122
2356 0.324269 0.111103
2457 0.295938 0.108517
2635 0.323416 0.128354
11742 0.312676 0.118949

Low Scores
nSNPs 1.0 5.0
1875.9 0.466708 0.140141
1988 0.435886 0.178326
2067 0.495667 0.187139
2139 0.461146 0.185582
2203 0.495022 0.186689
2274 0.491401 0.182324
2356 0.442287 0.16983
2457 0.454321 0.176724
2635 0.429901 0.195696
11742 0.448345 0.187873

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions