-
Notifications
You must be signed in to change notification settings - Fork 63
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
Issues with visualisation of a large set of reads for one position #444
Comments
Thanks for reporting this issue, @cwuensch! Sounds like the browser is having problems keeping all those read information in the memory and eventually start having connectivity issues (NS error) due to the high volume of network traffic required to fetch all those read data. One of the optimizations we incorporated into pileup.js was to minimize the things we draw on the on and off the screen, where we don't try to render any reads that are beyond the boundaries of the screen. In your case, I think the problem is just because of the number of reads falling within a particular genomic range and issues with their representation in the memory. IGV, for example, works around this problem by requiring the user to be at a particular zoom level before loading/showing any read data. We currently don't have that limitation with pileup.js as this can programmatically be accomplished by the developer if/when needed. As for your suggestion to be able to limit the number of reads loaded into pileup.js: that might become tricky as to be able to fetch informative reads, we still need to load all of them into the memory and then sort their prioritization before showing them. If we do this at the level of read fetching, then we risk missing reads that support a variant, which is not that ideal for the user investigating the read data. Having said that, if you have any suggestions towards how to accomplish this or if you can describe your use case in details, maybe we can come up with a solution that might help with your case. Otherwise, I strongly suggest programmatically limiting the size of the genomic region to be shown so that the expected number of reads falling into a particular region always stays at a reasonable level. Another option might be to explore @selkovjr's solution (#403) and filtering reads on the server side instead of the client. |
I still haven't found found any problems with my read delivery solution On 8 November 2016 at 15:36, B. Arman Aksoy [email protected]
|
Dear selkovjr, could you please give me a brief introduction to where I can find your Best regards, 2016-11-09 7:45 GMT+01:00, Gene Selkov [email protected]:
|
Hi Christian, I am sorry it is so disorganized. I was supposed to let the crew pull my Here's the branch: https://github.com/selkovjr/pileup.js What has changed (from memory):
Three new directories are now in the source tree. ./frontend -- this has everything (I hope) to open a pileup in its own Frontend configuration is all hard-coded in ./frontend/index.html.mustache I never had time to package it properly and I believe tests have been Regards, --Gene On 9 November 2016 at 09:32, cwuensch [email protected] wrote:
|
We are using pileup.js for targeted sequencing with high coverage rates (> 1000 reads per position).
When the alignment track is to be displayed at a position with many reads, the browser gets stuck, and a lot of errors ("NS error") appear in the browser console.
The problem increases especially when zooming out (more positions to visualize).
Maybe a solution would be to specify a maximum number of reads to be shown per position?
Here one example of the full error stack:
The text was updated successfully, but these errors were encountered: