-
Notifications
You must be signed in to change notification settings - Fork 60
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
Unpredictable JBrowse2 visualization #4316
Comments
thanks for reporting this. I think I can confirm some weirdness here, there are error messages in the dev console that say something to the effect of "RangeError: offset is outside the bounds of the DataView" this could mean the parser has a bug |
Thanks a lot for your quick response! We are indeed generating the .hic files using the 1-bp resolution on purpose because this is for a new application case. Using the Juicer pre tool we were able to set/adjust the resolution to examine dependences in the single base pair level in the genome. It would be a great help if JBrowse2 can also handle the visualization in this granularity. Thank you very much! |
@gihannagalindez i tried to create a potential fix here #4319 you can run I am pretty inexperienced with hic data so I am not sure if what I'm seeing is correct but let me know if it looks right to you! |
went ahead and merged the fix to it...feel free still to test it out. the particular thing that i am still not sure about is that there is a 'horizontal' lines not at y=0...that is visible in your screenshots. is that expected? |
I believe this is now fixed. Instead of offsetting according to the first hi-c contact bin, it offsets according to region.start divided by the current bin size. Improved coloring added too :) |
the fix should be in the now released latest version v2.11.0 along with some fun hi-c coloring schemes https://jbrowse.org/jb2/blog/2024/04/16/v2.11.0-release/ |
chrX.zip
Hi! Thanks for this nice tool! I am using JBrowse2 to visualize nucleotide dependencies in the genome at 1-bp resolution in the region around a tRNA in yeast. This is not the typical resolution for hic files, but it seems that there is a bug, because the visualization changes when I zoom or try to move the track around (i.e. the red dots move around to unpredictable, seemingly random locations). I encounter this for both the web tool and the desktop version (I'm on Windows). I am attaching a hic file that contains the data for chromosome X; this file was generated using Juicer pre tool. I checked/visualized the same .hic file using another tool and it works fine. However, it would really be a great help for us if this can be solved and nicely visualized in JBrowse2.
To Reproduce
Screenshots
Please look at the two screenshots below. The location is the same but the visualization changes after moving the track horizontally.
![screenshot1](https://private-user-images.githubusercontent.com/53516591/316615471-9d94eda8-249b-4c95-a1de-f7e469345d28.png?jwt=eyJhbGciOiJIUzI1NiIs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YLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDIwMDQ0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwMTE1MmIzZTY2MzhkMmJkZWM4YTU2OWMxNmNiZDRlMmFjODBjNWM0OGEwNzRkNDUzZTYxODE5ZGYzOWE0MjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.EuD59n8C3WB5CAtRksafzT7ELfGdcu7GSOl0cUHdJkk)
Version:
2.10.3
Additional context
The text was updated successfully, but these errors were encountered: