I am trying to calculate the heritability using the Baseline GRCh38 v1.2 and some ldscores files that I computed on a new personal annotation. I am running this command:
python ldsc.py --h2 sumstats_dir/ --ref-ld-chr baseline_dir/baseline.,baseline_dir/personal_baseline. --w-ld-chr weigths_dir --frqfile-chr plink_dir --overlap-annot --print-coefficients --out outdir
and I get an index error "IndexError: list index out of range" at line 162 of parse.py in ldscore " first_fh = sub_chr(fh, chrs[0]) + suffix". The baseline_dir folder contains .l2.ldscores.gz, .M, .M_5_50 and .annot.gz for both the GRCh38 baseline and my personal annotation. Do you know how I can solve this? Thanks.
I am trying to calculate the heritability using the Baseline GRCh38 v1.2 and some ldscores files that I computed on a new personal annotation. I am running this command:
python ldsc.py --h2 sumstats_dir/ --ref-ld-chr baseline_dir/baseline.,baseline_dir/personal_baseline. --w-ld-chr weigths_dir --frqfile-chr plink_dir --overlap-annot --print-coefficients --out outdirand I get an index error "IndexError: list index out of range" at line 162 of parse.py in ldscore " first_fh = sub_chr(fh, chrs[0]) + suffix". The baseline_dir folder contains .l2.ldscores.gz, .M, .M_5_50 and .annot.gz for both the GRCh38 baseline and my personal annotation. Do you know how I can solve this? Thanks.