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

bed file visualization #102

Open
Jingyi-ZHOU opened this issue Aug 3, 2020 · 2 comments
Open

bed file visualization #102

Jingyi-ZHOU opened this issue Aug 3, 2020 · 2 comments

Comments

@Jingyi-ZHOU
Copy link

Jingyi-ZHOU commented Aug 3, 2020

I got two issues when visualizing bed files. My bed files contain information of SNPs, where end-start=1.

  1. when the data is very sparse, like 15 rows, the GIVE browser would show nothing even when I zoom in to certain coordinate.
  2. when the data is dense, like 50k rows, GIVE browser does show the data. but when I zoom in to a smaller coordinates range, the figure would just disappear. and when I zoom out, it would appear again.
    Can I fix this?
@frankyan
Copy link
Member

frankyan commented Aug 9, 2020

We didn't encounter this problem before. Could you please show us the screenshots of your problem? Could you share your sample data with us? Maybe we can have some test.

@Jingyi-ZHOU
Copy link
Author

Hi, thank you for your reply. Here is the link to screenshots and test data.
Among all the bed files, gwas13.bed has 13 rows, and it can be seen as a "threshold". It means in a range of 1000 of coordinates, if the file has more than 13 rows, it can be shown in the panel. While if the file has less than 13 rows, there would be nothing in the panel.
Also, you can see gwas10+5.bed, it has 10 rows from 30000059 to 30000863 and 5 rows distributed in other coordinates. And this file cannot be shown in the panel.
As to the screenshots, I first set the coordinates as chr10: 29933189-30130094 and there is a visualization in the panel. But when I keep zooming in, the visualization would disappear. Please check the two screenshots for reference.
And I think the key point here can be explained as "why I cannot visualize the bed file which contains only one row and the difference between start and stop is only one". There should be one line on the screen.
Thanks for your help!

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

2 participants