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

Some Manhattan Plots don't show up #230

Open
jielab opened this issue Jun 19, 2024 · 10 comments
Open

Some Manhattan Plots don't show up #230

jielab opened this issue Jun 19, 2024 · 10 comments

Comments

@jielab
Copy link

jielab commented Jun 19, 2024

Dear Peter:

Sorry to bug you on this. I am very puzzled that some of my GWAS do NOT have Manhattan plot displayed. Please see the screenshot below. Even after I clicked the "Manhatten" link, nothing changed.

image

I don't see any error message on the console either. Please see the screenshot below.
image

Can you please give me a little hint, so that I know where to look for problems?

Thanks!

JH

@pjvandehaar
Copy link
Collaborator

pjvandehaar commented Jun 19, 2024 via email

@jielab
Copy link
Author

jielab commented Jun 21, 2024

Thanks, Peter!

Please see the screenshot below. The console shows "Manhattan XHR failed".
How could I find the cause and a solution for this?

Thanks!
JH

image

@pjvandehaar
Copy link
Collaborator

pjvandehaar commented Jun 21, 2024 via email

@jielab
Copy link
Author

jielab commented Jun 24, 2024

Dear Peter:

I did rerun pheweb processing a couple of times, but still the Manhattan plot does not show up.

To facilitate this communication to identify the cause, and not wasting too much of your precious time, I now post my GWAS data at this link https://drive.google.com/file/d/1wmZiGEzb5Guw6qBH6QKIjB4R_JpKqUJI/view?usp=sharing.

And below is my config.py file

hg_build_number = 19
assoc_max_maf = 1
show_correlations = False
show_manhattan_filter_button = True
cache = "/mnt/d/data/dbsnp/"
field_aliases = {'CHR':'chrom', 'POS':'pos', 'NEA':'ref',  'EA':'alt', 'BETA':'beta', 'SE':'sebeta', 'P':'pval'}

At your convenient time, can you please download this GWAS file and test at your side? I hope this exercise could identify an issue that is useful for many other pheweb users as well.

Many thanks!

JH

@jielab
Copy link
Author

jielab commented Jul 7, 2024

I have been so puzzled by this behavior. I would greatly appreciate if someone could clarify this mystery. I hope that it is not just me who got this manhattan plot display problem.

Thanks!
JH

@kmetsalu
Copy link

kmetsalu commented Oct 22, 2024

We have a same problem. Most phenotypes work but some don't.

@kmetsalu
Copy link

We discovered that some manhattan .json files contained NaN values. Testing if this may be a reason.

@jielab
Copy link
Author

jielab commented Oct 23, 2024

Hi,

Thank you very much!

Yes, indeed, I found NaN value in the .jason file for the trait that can't display a Manhattan plot!

This .json file only has one line. My original GWAS file does NOT have any NaN values. Do you know the cause and fix for this NaN issue?

Best regards,
Jie

@kmetsalu
Copy link

Sry. No answer yet - people will start investigation in upcoming days. It happens somewhere in data processing pipeline and now the question is, whether it's something related to input data or something unexpected in pheweb processing step.

@jielab
Copy link
Author

jielab commented Oct 23, 2024

That's great!

Looking forward to a further investigation and an answer :-)

Best regards,
Jie

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