Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
popup for a GFF3Tabix feature: multiple attribute values are rendered as a single value #1122
Unlike with NCList StoreClass, the popup with GFF3Tabix storeClass is wrong when one attribute has multiple values: they are joined with a comma and rendered as a single one. This induces trouble to distinguish the different values (Which are the "value-separator commas" or the "inside-value commas"?) and this prevent to apply callbacks on each individual value (these callbacks are working well with the NCList StoreClass).
Here part of the popup with a NCList StoreClass (created using flatfile-to-json.pl):
Here the same data with the GFF3Tabix (and same track configuration except for
@rbuels any idea about this?
The gff-js code has something related to splitting on comma but I dunno exactly how that passes through https://github.com/GMOD/gff-js/blob/master/src/util.js#L91
Multiple values of the same attribute are comma separated in GFF3. Is the JBrowse GFF driver ‘join’ing those back together? Maybe it shouldn’t.…
On Mon, Jul 16, 2018 at 12:05 PM Colin Diesh ***@***.***> wrote: @rbuels <https://github.com/rbuels> any idea about this? The gff-js code has something related to splitting on comma but I dunno exactly how that passes through https://github.com/GMOD/gff-js/blob/master/src/util.js#L91 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1122 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAEgFeVRZ5K0wFSjLqW7sG_5LT6Zg9Lpks5uHOPpgaJpZM4VRN0J> .