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

KeyError: ['beta', 'SE'] when using Z #23

Open
opain opened this issue Jul 2, 2021 · 1 comment · May be fixed by #37
Open

KeyError: ['beta', 'SE'] when using Z #23

opain opened this issue Jul 2, 2021 · 1 comment · May be fixed by #37

Comments

@opain
Copy link

opain commented Jul 2, 2021

Hello, Thank you for creating this method and software.

The summary statistic file format description for POPCORN suggests the output of the LDSC munge_sumstats.py script would be suitable. However, when I use LDSC munged summary statistics I receive the following error: "KeyError: ['beta', 'SE']". Is this error a result of the 'beta' and 'SE' not being present. Below is a screenshot of the log file, also showing the first ten lines of each summary statistics file.

image

Is it necessary to change the format of my summary statistics? Or is this error reflecting another issue?

Many thanks in advance.

Best wishes,

Ollie

@opain
Copy link
Author

opain commented Sep 15, 2021

To resolve this issue I have used summary statistics that include 'beta' and 'SE' columns instead of just 'Z'. Then the analysis runs successfully.

The sumstat.py script requires beta and SE columns here, causing the error.

So, providing just the 'Z' column is not sufficient.

@opain opain closed this as completed Sep 15, 2021
@opain opain reopened this Sep 15, 2021
ofrei pushed a commit to ofrei/Popcorn that referenced this issue Oct 25, 2022
@ofrei ofrei linked a pull request Oct 25, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant