|
From: Vaneet L. <van...@uc...> - 2025-11-26 20:27:43
|
Hi all, In the original JBrowse, when I had a large assortment of tracks and I wanted to sort them in an order other then alphabetical or the position in the config file from where they were added, I used HTML tags in the track names. Basically '<span>' with the name attribute being given a number to assign the order of the track in the category it belongs to. I did the same for track categories. In JBrowse2 I've tried the same technique for track names, and it works by decoding the HTML tags and not actually showing the raw HTML in the visible track names. This method does not work for categories when I try it as the HTML is not decoded and just shown as is in the category name. So, does anyone know a better way to sort categories besides alphabetical order? This becomes relevant where for Xenopus I'm attempting to order categories by development stage not stage # so alphabetical won't work. Please let me know if there's a better way to do this in JBrowse2. Thanks, Vaneet Vaneet Lotay Xenbase Bioinformatician University of Calgary 2500 University Drive NW Calgary, AB T2N 1N4 CANADA |