python ldsc.py\
--l2\
--bfile 1000G.EUR.QC.22\
--ld-wind-cm 1\
--annot Brain_DPC_H3K27ac.annot.gz\
--out Brain_DPC_H3K27ac
Q. Why am I getting the error message
Do you really want to compute whole-chomosome LD Score? If so, set the
--yes-really flag
(warning: it will use a lot of time / memory)"
A. Your --ld-wind-[snp | kb | cm]
option told ldsc
to compute whole-chromosome LD Scores, i.e., sum r2 with the sum taken over all the SNPs in your .bim file. This is more often a time-consuming mistake than the real intent of the user (whole-chromosome LD Score contains more information about population structure in the sample than anything else, and this information can be obtained much more rapidly via e.g., PCA). If you actually want to compute sum r2 with the sum taken over all SNPs in your .bim
file, set the --yes-really flag
, but be warned that if you .bed file is large, this could take a very long time to finish running.