Re: bigwig track rendering failure with sparse data
Actually, the error was
"Track rendering error: Timeout; Try turning off tracks or looking at a smaller region."
I see this using the chr1_step10 wig file I included earlier (uploaded and converted to bigwig), at
coordinates chrI:184,350..189,349. The chrI_Randomized file shows an empty track.
Note that I've set the details multiplier to 1. Otherwise, you could include data points outside of your
view and preclude seeing the error.
I am using GBrowse 2.26, Bio::Graphics 2.18, and BigFile 1.04. I just noticed I was a little out of date, and
updated to Bio::Graphics 2.19 and BigFile 1.06. Still the same error.
From: Lincoln Stein <lincoln.stein@...<mailto:lincoln.stein@...>>
Date: Fri, 1 Apr 2011 09:44:29 -0600
To: Timothy Parnell <timothy.parnell@...<mailto:timothy.parnell@...>>
Cc:
"gmod-gbrowse@...<mailto:gmod-gbrowse@...>" <gmod-gbrowse@...<mailto:gmod-gbrowse@...>>
Subject: Re: [Gmod-gbrowse] bigwig track rendering failure with sparse data
Were you seeing the failing to render message? I encountered it and tracked it down to a divide-by-zero
error, but it wasn't in your bug report.
Lincoln
On Fri, Apr 1, 2011 at 11:36 AM, Timothy Parnell
<Timothy.Parnell@...<mailto:Timothy.Parnell@...>> wrote:
OK, that sounds good. An empty track is better than a scary message about failing to render for most users.
Thanks for looking into it.
From: Lincoln Stein <lincoln.stein@...<mailto:lincoln.stein@...><mailto:lincoln.stein@...<mailto:lincoln.stein@...>>>
Date: Fri, 1 Apr 2011 08:38:49 -0600
To: Timothy Parnell <timothy.parnell@...<mailto:timothy.parnell@...><mailto:timothy.parnell@...<mailto:timothy.parnell@...>>>
Cc:
"gmod-gbrowse@...<mailto:gmod-gbrowse@...><mailto:gmod-gbrowse@...<mailto:gmod-gbrowse@...>>" <gmod-gbrowse@...<mailto:gmod-gbrowse@...><mailto:gmod-gbrowse@...<mailto:gmod-gbrowse@...>>>
Subject: Re: [Gmod-gbrowse] bigwig track rendering failure with sparse data
Hi Tim,
The difference in representation between variable and fixed stepped data is that in the former case
regions that fall between annotated regions are "missing", whereas in the latter case you must give them
an explicit value, even if it is zero.
I have changed the implementation of the wiggle_xyplot and wiggle_whiskers glyphs in Bio::Graphics so
that the scale always gets drawn. This will be released in version 2.20, which I will release as soon as I'm
sure this change doesn't introduce any new bugs.
Lincoln
On Mon, Mar 21, 2011 at 1:48 PM, Timothy Parnell
<Timothy.Parnell@...<mailto:Timothy.Parnell@...><mailto:Timothy.Parnell@...<mailto:Timothy.Parnell@...>>> wrote:
Hi,
I have a lab mate who is trying to visualize her genomic data with a bigwig file. The data happens to be pretty
sparse, for example, maybe a dozen positions or less with a recorded value in a 10 kb window. These tend to
fail to render. If you zoom out to 50 or 100 kb, then the track renders properly, presumably because there
are now enough data points? If there are no data points in the requested region, then we get an empty track,
as expected (no scale bars, only vertical grid lines).
So far, this seems to happen regardless whether the source file was a variableStep wig or bedGraph file.
I hadn't seen this before, but then all my data was fixedStep. I converted her sparse data to a fixedStep wig
(assigning 0 to the empty positions, of course), and the track renders beautifully as expected,
regardless of zoom level.
Is this a bug, or an unintentional side effect of the data formatting? Has anyone else seen this phenomenon?
Tim
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...<mailto:Gmod-gbrowse@...><mailto:Gmod-gbrowse@...<mailto:Gmod-gbrowse@...>>
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514<tel:416%20673-8514>
Assistant: Renata Musa <Renata.Musa@...<mailto:Renata.Musa@...><mailto:Renata.Musa@...<mailto:Renata.Musa@...>>>
--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...<mailto:Renata.Musa@...>>
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf