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

LDSC for each of the 1703 regions defined by ldetech (Joseph K Pickrell 2016) #469

Open
jielab opened this issue Dec 15, 2024 · 0 comments

Comments

@jielab
Copy link

jielab commented Dec 15, 2024

Hi, I am trying to run LDSC for each of the 1703 regions defined by ldetech (Joseph K Pickrell 2016).

It seems that I first need to run make_annot.py --bed-file ldetech.EUR.bed --bimfile MY.bim --annot-file MY.output.

However, when I run that command, I got an error of sys:1: DtypeWarning: Columns (0) have mixed types. Specify dtype option on import or set low_memory=False. and my output file only has a column with a header of ANNOT.

Can you please let me know how to run this step correctly? If this is simply assign MY.bim into different regions based on ldetech.EUR.bed, I feel that I could do this by using bedtools, correct?

How to run ldsc.py once the above step is successfully run, so that it calcualtes h2 for each of the 1703 regions?

Thank you & best regards,
Jie

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

1 participant