Vladimir Gritsenko
2015-03-02 10:36:20 UTC
Hi all,
I’m writing a CNV track, which I’m representing as a histogram (~5 kbp per each bar), in GFF3. Here’s what I need:
1) Y scales that will always be present to the left and the right of the track.
2) Horizontal lines running along pre-set Y values.
3) Each bar in the histogram labeled with its value.
To break down each question I have:
1) The biggest issue I’ve had is the Y scales. In GFF3, if I don’t aggregate my data points, I get a lot of scale cartoons, cluttering the view when zooming out. If I do aggregate my views, the scales will only be presented at the beginning, middle and end of the chromosome - that’s too sparse. Ideally, I would like the scales to be presented in a zoom-invariant way - always to the left, right and maybe middle of the visible portion of the track.
2) The second issue is the horizontal lines. I think I can just add a feature to represent that line, but the problem with it being a feature is that users may click on it by mistake (instead of the histogram bar). Also, if it’s not marked, it loses its effect without scales.
3) I’ve found no way to label each individual bar. I did manage to have the CNV value be in the mouse-hover balloon (via the $description variable).
I think that 1+2 and 3 are mutually exclusive in terms of necessary features - that is, if the scale question is undoable but the labeling is doable, that may be good enough, and vice versa.
Any other thoughts or examples on how to represent CNV tracks will be greatly appreciated.
Thank you!
I’m writing a CNV track, which I’m representing as a histogram (~5 kbp per each bar), in GFF3. Here’s what I need:
1) Y scales that will always be present to the left and the right of the track.
2) Horizontal lines running along pre-set Y values.
3) Each bar in the histogram labeled with its value.
To break down each question I have:
1) The biggest issue I’ve had is the Y scales. In GFF3, if I don’t aggregate my data points, I get a lot of scale cartoons, cluttering the view when zooming out. If I do aggregate my views, the scales will only be presented at the beginning, middle and end of the chromosome - that’s too sparse. Ideally, I would like the scales to be presented in a zoom-invariant way - always to the left, right and maybe middle of the visible portion of the track.
2) The second issue is the horizontal lines. I think I can just add a feature to represent that line, but the problem with it being a feature is that users may click on it by mistake (instead of the histogram bar). Also, if it’s not marked, it loses its effect without scales.
3) I’ve found no way to label each individual bar. I did manage to have the CNV value be in the mouse-hover balloon (via the $description variable).
I think that 1+2 and 3 are mutually exclusive in terms of necessary features - that is, if the scale question is undoable but the labeling is doable, that may be good enough, and vice versa.
Any other thoughts or examples on how to represent CNV tracks will be greatly appreciated.
Thank you!