Changeset [78c7bc8cec1e0542a69acd5488b11e816108c59c] by Robert Buels

August 25th, 2012 @ 01:58 PM

Merge pull request #127 from mocklerlab/log_fix

Fix to Wiggle track log scale from @mocklerlab / @sallustfire.

BigWig tracks that use the "scale": "log" option do not render properly when the wiggle data includes 0's. This is due to the fact that the origin gets mapped to Infinity. Hence, when the fillRect is invoked on the canvas, nothing is rendered as the height is not finite.

Included is a change that fixes this by mapping 0 to 1, which should be ok for a log scale scale wiggle track.
https://github.com/GMOD/jbrowse/commit/78c7bc8cec1e0542a69acd5488b1...

Committed by Robert Buels

  • M src/JBrowse/View/Track/Wiggle.js
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

AJAX Genome Browser