Replies: 1 comment 2 replies
-
@robinohm hi there a) there is a way to do this with defaultSession, our volvox config.json has this. however, a defaultSession is just what is initially shown. to do it dynamically any time a view is opened, is another thing which we dont have both (a) and (b) are interesting ideas and could be considered for features. note that alternatively, a small plugin can recreate this funcionality here is a plugin that does both (a) and (b)
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two questions, and I hope I didn't overlook it in the documentation.
Is there a way to open the Track Selector panel by default (i.e., when a user opens that assembly in JBrowse2)? I tried adding the following to the config.json file, but as far as I can tell it had no effect:
"defaultSession": {"activeWidgets": {"hierarchicalTrackSelector": "hierarchicalTrackSelector"}},
"session": {"activeWidgets": {"hierarchicalTrackSelector": "hierarchicalTrackSelector"}},
Another question: can I specify tracks that should be shown by default for each assembly? I'm setting up a JBrowse instance with 100+ assemblies, and the track names vary per assembly. It would be useful if I can specify the default tracks for each assembly somewhere in the config.json file. Currently I'm trying to solve it by using the URL parameters, but that is only a partial fix, since if the user opens a new Linear Genome View then it doesn't display any tracks.
Any help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions