Skip to content

Index error: list index out of range #1

@ariannafontanesi

Description

@ariannafontanesi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions