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

Dealing with loci with no SNP #8

Open
ggittu opened this issue Apr 22, 2020 · 4 comments
Open

Dealing with loci with no SNP #8

ggittu opened this issue Apr 22, 2020 · 4 comments

Comments

@ggittu
Copy link

ggittu commented Apr 22, 2020

Hi Huwenbo-

@shihuwenbo @huwenboshi I am trying to work this out for the step2, but I am getting error ,

[INFO] Loaded results for 1703 loci from step 1
[INFO] Using 1066727 SNPs with average sample size 8965.0
[INFO] Re-inflate the summary statistics with lambda_gc: 1
[ERROR] Rank of A less than the number of loci. There might be loci with no SNP.

From what is given in the FAQS, I made sure the sumstats file dont have any NA in the SNP column. What can I do to make this run ? Which SNP's from where should be removed? Is the --drop-missing-loci function implemented yet ?

Thanks Huwenbo

@meghatron21
Copy link

Hi. I wanted to follow up on this also. I am getting an error of Rank of A less than number of loci. Should I just use a different partiion function?

@Rick-Chen-PKU
Copy link

Getting the same error! Any advice to handle it?

@Rick-Chen-PKU
Copy link

I may have found the problem, there is little SNPs in a region on chr1:178944309-178954470 (see below). If use sumstat.gz data from LDSC to run the code, it may pop out an error!
The error will cause subsequent errors [ERROR] Rank of A less than the number of loci. There might be loci with no SNP.
70712433e36db8f1ace3d3a70caa4c6
d49b487412af0bb17e9c75fb6ab52e5

@huwenboshi
Copy link
Owner

Hi, in this case, you will need to remove the region in the bed file, and rerun the analysis.

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

4 participants