Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird false positive XP-nSL signals appeared with larger samples #106

Open
Ceonham opened this issue Dec 15, 2023 · 2 comments
Open

Weird false positive XP-nSL signals appeared with larger samples #106

Ceonham opened this issue Dec 15, 2023 · 2 comments

Comments

@Ceonham
Copy link

Ceonham commented Dec 15, 2023

Hi Prof. Szpiech,
I recently used selscan to calculate XP-nSL between a target population (209 samples) and three reference populations (ref1: 38 samples, ref2: 70 samples, ref3: 210 samples) separately. I used the following commands to calculate and normalize XP-nSL:

selscan --xpnsl --vcf-ref ref_$chr.vcf --vcf target_$chr.vcf --threads 3 --out ref_target_$chr
norm --xpnsl --files ref_target_${chr}.xpnsl.out --bp-win

Finally I got satisfying 1% significant signals from ref1 vs target
ref1_target.xpnsl.out.norm.100kb.windows.txt
ref1_target.0.01.xpnsl.txt
and ref2 vs target.
ref2_target.xpnsl.out.norm.100kb.windows.txt
ref2_target.0.01.xpnsl.txt
However, a lot of false positive signals appeared in the results from ref3 vs target.
ref3_target.xpnsl.out.norm.100kb.windows.txt
ref3_target.0.01.xpnsl.txt

Do you have any suggestions to solve this problem? Please check the attached six result files. I guess some parameters would be adjusted during normalization of ref3. Looking forward to your reply!

Thank you very much!

@szpiech
Copy link
Owner

szpiech commented Dec 15, 2023 via email

@Ceonham
Copy link
Author

Ceonham commented Dec 18, 2023

Thanks so much!!! This problem has been perfectly solved according to your suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants