Good afternoon,
I am trying to analyze the partitioned heritability of a new annotation (a set of 34,000 SNPs with MAF > 0.05 in Europeans) with ldscore.py. I have followed the instructions, namely:
- I converted the BMI summary statistics from GIANT into .sumstats
- I modified the CNS.*.annot files changing the last column, putting a 1 if the SNP of my set is in the annotation and a 0 otherwise.
- I computed the LD scores for the 22 chromosomes, obtaining the *.l2.ldscore, *.M and *.
M_5_50 files.
- Finally, I ran:
python ldsc.py
--h2 BMI.sumstats\
--w-ld-chr weights.\
--ref-ld-chr my_annotation.,baseline.\
--overlap-annot\
--not-M-5-50\
--out BMI_my_annotation\
--print-coefficients
but it returns an error:
Reading summary statistics from BMI.sumstats ...
Read summary statistics for 1062313 SNPs.
Reading reference panel LD Score from my_annotation.,baseline.[1-22] ...
Error parsing reference panel LD Score.
[...]
ValueError: LD Scores for concatenation must have identical SNP columns.
So, does this mean that the .ldscores for baseline. and for my_annotation. should have the same number of rows (SNPs)? If this is the reason, why the CNS.annot files don't have the same SNPs as the baseline.annot files?
Thank you very much for your help,
Miguel