GMOD / jbrowse

JBrowse 1, a full-featured genome browser built with JavaScript and HTML5. For JBrowse 2, see https://github.com/GMOD/jbrowse-components.
http://jbrowse.org
Other
463 stars 199 forks source link

is there a way to organize a large number of datasets? #1587

Open jvera888 opened 3 years ago

jvera888 commented 3 years ago

Hi, I'd like to organize a large number of datasets (over 50 bacterial genomes) by category (e.g. family, genus, soil, waste, etc.) if possible, but I could not find the means to do this within the docs. I add the datasets programmatically, so ideally a way to do this within the 'jbrowse_conf.json' file under the "datasets" key would be ideal. Does this feature already exist? If not, would it be easy-ish to implement? I've attached an example jbrowse_conf.json, why not? jbrowse_conf.json.txt

Many Thanks! Cris

cmdcolin commented 3 years ago

can you clarify what type of organization it is you want to see? there probably isn't really too much of an organization scheme available. possibly, encoding all that info into the "name" field could be a simple approach

jvera888 commented 3 years ago

can you clarify what type of organization it is you want to see? there probably isn't really too much of an organization scheme available. possibly, encoding all that info into the "name" field could be a simple approach

I was thinking a way to add text headers between the dataset links, although any means of grouping dataset links under categories would work for me. Maybe adding another optional key such as 'category' to group them? I don't know how unreasonable it would be to implement, though. I'll try modifying the 'name' keys to contain sortable group info in the meantime. Cris