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

Handling z-score in sumstat #103

Open
jiyue1214 opened this issue Sep 11, 2024 · 2 comments
Open

Handling z-score in sumstat #103

jiyue1214 opened this issue Sep 11, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jiyue1214
Copy link
Collaborator

Find a solution to handling the z-score in sumstat and implement it in the harmonisation pipeline.

@jiyue1214 jiyue1214 added the enhancement New feature or request label Sep 11, 2024
@jiyue1214 jiyue1214 self-assigned this Sep 11, 2024
@jiyue1214
Copy link
Collaborator Author

Our current harmonization pipeline cannot process the z-score column in the summary statistic data. However, the z-score is one of the outputs from METAL, so we’ve decided to address the z-score for flipped alleles in the harmonization pipeline.

After reading a blog about the relationship between z-score and beta (OR), it seems that when we flip alleles, the new z-score is equal to the negative of the original z-score.

Karatug and Trang from the AMP gave me the green light. Sam had the idea to convert the z-score to beta and do what we normally do. However, when the z-score is available, see is not available.

Should we go with new z-score = -(old z-score)?

@jiyue1214
Copy link
Collaborator Author

jiyue1214 commented Oct 10, 2024

In the GWAS-SSF, we did not define the suggested header name of the Z-score. Investigating how the Z-score is presented among the current GWAS data we have:
Zscore (METAL), zscore, z-score,z,Z

1595 studies containing '\t'z:
1179 z
1 z.meta
44 z_score
3 zscore
1 zscore_metal
26 z_value
Even though the z is more commonly used as the header for the Z-score, personally think it is too short and not informative enough. I am using the z_score in the pipeline, but it is easy to change.

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

No branches or pull requests

1 participant