Closed AndreaG5 closed 4 months ago
Hi, happy to help but I need more information to do so - can you let me know the version of mungesumstats you are using and the code you ran (and the console log output). There is a parameter to set to ensure the output is a valid format for ldsc (save_format='LDSC'
), did you use this?
Thanks, Alan.
Oh I am so sorry, I was sure I put it in the argument list. My bad. Everything worked fine, thank you so much, sorry for the mistake!
1. Bug description
Hi,
thank you for the tool. I am currently struggling with usage of ldsc.py with sumstats derived from your R library. I took sumstats from GWAS catalog, and treat one sumstats as it was and another adding a column using awk. I am able to run format_sumstats() just specifying genome build and output directories - I got no error/warning. When I try using sumstats outputted by the fuction directly to ldsc.py --h2 I got error in the title:
Console output
Honestly I don't know where the error is. File is tab sep, colnames matches input of LDSC. I tried keeping just one signed_stats column but did not work. I saw from the wiki that the ouptput can be used directly into ldsc function but I am not able to.
Do you have any suggestion about it? is it a known problem? (I'll be able to provide scripts, but not at the moment).
Thank you so much!