From: Colin <col...@gm...> - 2020-09-29 19:44:53
|
I wanted to see if a solution could be made quickly, if you want to test out a development branch you can try this https://github.com/GMOD/jbrowse/tree/starcollapse Tested using [trackSelector] collapsedCategories=Quantitative* In jbrowse.conf On the volvox sample data Let me know if how it works, very quickly drafted :) -Colin On Tue, Sep 29, 2020 at 1:13 PM Vaneet Lotay <van...@uc...> wrote: > Well currently you can collapse parent category as well as all > subcategories if you specify each subcategory and parent category in the > ‘collapsedCategories’ field. I was looking for a shortcut to collapse all > subcategories under a parent subcategory with maybe a wildcard character or > some alternative that would work in your development. It would be great if > something to this effect could be added in a future release, because I am > working with a lot of nested subcategories sometimes across 3-4 levels. > Essentially having a collapse all function from a higher level in the > configuration would be nice. > > > > Thanks, > > > > Vaneet > > > > *From:* Colin <col...@gm...> > *Sent:* Monday, September 28, 2020 4:33 PM > *To:* Vaneet Lotay <van...@uc...> > *Cc:* gmod-ajax <gmo...@li...> > *Subject:* Re: [Gmod-ajax] Collapsing categories > > > > [△EXTERNAL] > > > > That is interesting. I don't think anything like this exists. I guess > currently the idea would be to collapse the parent category. rather than > collapse all subcategories, but I guess if there is a mix of tracks and > categories at one level you want to collapse all the categories at that > level rather than the parent? > > > > -Colin > > > > On Mon, Sep 28, 2020 at 1:27 PM Vaneet Lotay <van...@uc...> > wrote: > > Hello, > > > > I was wondering is there a way to collapse subcategories within a main > category without having to specify every single subcategory separately > within this field: > > > > trackSelector→collapsedCategories > > > > If not, it would be nice for this feature to be added to JBrowse somehow > using a special wildcard character like perhaps this for example: > > > > collapsedCategories : “Category1/*,Category2/Subcategory1/*’ > > > > If it’s not a feature please let me know if I should add a request to > GitHub, as I think it would be very helpful when dealing with a lot of > categories and subcategories which is the case in my scenario. > > > > Thanks, > > > > Vaneet > > > > *Vaneet Lotay* > > *Xenbase Bioinformatician* > > *716 ICT Building – University of Calgary* > > *2500 University Drive NW* > > *Calgary, AB T2N 1N4* > > *CANADA* > > > > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > > |