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

ERROR: P<1e-300 #418

Open
jielab opened this issue Feb 23, 2024 · 3 comments
Open

ERROR: P<1e-300 #418

jielab opened this issue Feb 23, 2024 · 3 comments

Comments

@jielab
Copy link

jielab commented Feb 23, 2024

Hi, there:

If some SNPs in my input GWAS has P-value < 1e-300, LDSC would fail, complaining that P-value is out of range (0, 1]。But P-value < 1e-400 is NOT exactly 0.

The latest GWAS on Height with millions of samples actually yielded a lot of SNPs with P < 1e-300.

It would be great if LDSC could address this, instead of throwing out an error.

Thanks!

Jie

@aksarkar
Copy link

aksarkar commented May 5, 2024

@jielab One potential problem is that if you convert such a p-value to a z-score, you will get an infinite z-score.

If you have the original z-scores from the height GWAS, this should not be an issue.

@jielab
Copy link
Author

jielab commented May 6, 2024

Thanks!

Do you mean that I should calcualte a Z-score, that is, BETA / SE, and include that Z-score in my input file to run LDSC?

@aksarkar
Copy link

aksarkar commented May 6, 2024

@jielab Correct. The expected input contains columns SNP, Z, and N.

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