Closed ymen closed 9 years ago
Pull request #97 covers the back-end side of this (thanks @ymen!). To fully emulate IGV, you might want to add a featureHoverListener to show the tooltips -- but that's an option for deployers.
I somewhat wonder if it would be worth supporting a "split bar" style of histogram for this -- but that's a styling issue, and should probably be addressed as part of the new stylesheet language project.
Use Case
A more informative coverage track that gives basic information like % of base composition of reads at a particular base location (like IGV) will be useful for variant-calling and similar processes.
Implementation
I'm currently looking at the way that features of the type
density
are rendering, and the process ofdownsampling
https://github.com/dasmoth/dalliance/blob/master/js/sample.js#L93 as a model.As a first pass, I would hope to implement a
detailed-density
type with a augmentedDSBin
data structure that stores base composition at each position in addition to read depth.Does this sound like a reasonable approach?