Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range for local rg #20

Open
nenduru1 opened this issue Nov 17, 2022 · 4 comments
Open

IndexError: list index out of range for local rg #20

nenduru1 opened this issue Nov 17, 2022 · 4 comments

Comments

@nenduru1
Copy link

Hi,
for some chromosomes i ma getting the below error for local rg. please provide your input.

[INFO] 204309 SNPs read from reference panel
[INFO] Loaded 286860 SNPs with rs IDs and single-letter alleles on chromosome 19 from the GWAS summary data file
[INFO] 160989 SNPs left after filtering
Traceback (most recent call last):
File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/hess.py", line 217, in
main()
File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/hess.py", line 45, in main
argmap['out'])
File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/src/estimation.py", line 391, in local_rhog_step1
sumstats2 = SumStats(sumstats_fnm[1], chrom)
File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/src/sumstats.py", line 113, in init
idx = idx_map[name]; val = cols[idx]
IndexError: list index out of range

thanks,
Nitesh

@DongshengWu
Copy link

Hello, can you provide some guidance on addressing this issue? I've encountered the same question as well.

@Zhangzzzzzy
Copy link

Hello, can you provide some guidance on addressing this issue? I've encountered the same question as well.

Have you found a solution yet? I have the same problem.

@Zhangzzzzzy
Copy link

Hi, for some chromosomes i ma getting the below error for local rg. please provide your input.

[INFO] 204309 SNPs read from reference panel [INFO] Loaded 286860 SNPs with rs IDs and single-letter alleles on chromosome 19 from the GWAS summary data file [INFO] 160989 SNPs left after filtering Traceback (most recent call last): File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/hess.py", line 217, in main() File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/hess.py", line 45, in main argmap['out']) File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/src/estimation.py", line 391, in local_rhog_step1 sumstats2 = SumStats(sumstats_fnm[1], chrom) File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/src/sumstats.py", line 113, in init idx = idx_map[name]; val = cols[idx] IndexError: list index out of range

thanks, Nitesh

Have you found a solution yet? I have the same problem.

1 similar comment
@Zhangzzzzzy
Copy link

Hi, for some chromosomes i ma getting the below error for local rg. please provide your input.

[INFO] 204309 SNPs read from reference panel [INFO] Loaded 286860 SNPs with rs IDs and single-letter alleles on chromosome 19 from the GWAS summary data file [INFO] 160989 SNPs left after filtering Traceback (most recent call last): File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/hess.py", line 217, in main() File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/hess.py", line 45, in main argmap['out']) File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/src/estimation.py", line 391, in local_rhog_step1 sumstats2 = SumStats(sumstats_fnm[1], chrom) File "/data2/nenduru/software/hess-0.5.4-beta/hess-0.5.4-beta/src/sumstats.py", line 113, in init idx = idx_map[name]; val = cols[idx] IndexError: list index out of range

thanks, Nitesh

Have you found a solution yet? I have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants