jbrowse-components
jbrowse-components copied to clipboard
Make pluggable glyph type
This was not a commonly extended feature in JB1 but it can enable some special use-cases
Could be done for both canvas (which is currently just pileup, but it being just pileup may need revisiting) and svg if needed
Technically, want configurable glyph type too
cc @scottcain expressed interest for this with diamond/triangle glyphs
Thanks for adding this note. Also, I would disagree with it not being a "commonly extended feature" if you consider the number of users who experience them. WormBase (second most widely used JBrowse 1 instance last time I checked) has multiple glyphs provided by plugins, including a modified gene glyph, a modified transcript glyph, a modified segments glyph (for paired ESTs), as well as many tracks that make use of diamonds and triangles (including many variant tracks). See for example these tracks, all of which have plugged in glyphs: https://wormbase.org/tools/genome/jbrowse-simple/?data=data%2Fc_elegans_PRJNA13758&loc=III%3A3439366..3481775&tracks=Polymorphisms%2CCurated_Genes%2CTransposon%20insert%20sites%2CProtein-coding%20genes%20(frame%20usage)%2CPolyA%20sites%20and%20signal%20sequences%2CTrans-spliced%20acceptor%2CESTs%20(best)&highlight=
Oh, and I forgot another plugin glyph that I'm going to miss going from 1 to 2: the glyph that displays bigwig and bigbed data together (that @cmdcolin wrote)
dupe of #466