-
Notifications
You must be signed in to change notification settings - Fork 199
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
Integer overflow with bigwig files #635
Comments
Hi, Grasping at straws but 64 vs 32 bit? Safari and Firefox have an option (certainly on mac) to switch between modes, chrome always opens as 64-bit from what I can tell (assuming 64-bit version): http://support.slingbox.com/KB/KB-1000319 Keiran Raine kr2@sanger.ac.uk On 25 Sep 2015, at 00:03, enuggetry notifications@github.com wrote:
The Wellcome Trust Sanger Institute is operated by Genome Research |
I'm pretty sure the server setup has at least something to do with it. If I setup the whoel thing locally, download assembly and add the bigwig, it works fine. I mentioned this in the old thread too http://gmod.827538.n3.nabble.com/Gmod-ajax-integer-overflow-error-in-Jbrowse-td4039019.html I just downloaded a genome assembly from the wormbase site and loaded the given bigwig file and it works fine. The issue seems to be that, for example in firefox, the entire file is being returned, and it is doing HTTP 200 GET instead of HTTP 206 Partial request chunks of it. See |
Appears Scott resolved the issue by just not using nginx proxying http://gmod.827538.n3.nabble.com/Gmod-ajax-Integer-overflow-with-bigwig-files-td4051345.html Might want to see why the nginx proxying fails in the first place though Apache proxying works fine for us 👍 |
WRT to the 206 case . . Are the TCGA_case_disease_track tracks BW or VCF? We are currently serving BW out of grails without a problem in one of our branches without incident, but we may not be in the right conditions: The 206 should be normal when reading a byte range. WRT to the overflow bug . . looks like issued here?: https://github.com/GMOD/jbrowse/blob/master/src/JBrowse/Model/DataView.js#L40 Is this consistent across scaffolds or only for the larger ones? |
The "overflow bug" as we have seen here is probably a red herring for something else going on, not genome size related. Also, the code that you link to @nathandunn is doing extra processing of bigwig files. If you are not doing any processing, you can just do a passthough of the chunks. It's true that in webapollo we also use grails to serve up bigwigs and other things too. We use code adopted from this "FileServlet" which just passes through binary files and handles 206 range requests http://balusc.omnifaces.org/2007/07/fileservlet.html |
Actually i think it is an enhanced version of that fileservlet http://balusc.omnifaces.org/2009/02/fileservlet-supporting-resume-and.html |
Hi Colin Diesh, Thanks for the help. I am able to render the bw tracks with the following code http://balusc.omnifaces.org/2009/02/fileservlet-supporting-resume-and.html. |
Good to know! I think this can be closed 👍 |
http://gmod.827538.n3.nabble.com/Gmod-ajax-Integer-overflow-with-bigwig-files-td4051345.html
The text was updated successfully, but these errors were encountered: