how to use local-session in url #4267
-
I save a session from GUI, then how can I use the session? Where should I put the session in(config.json or other place)? I have try put the session in my config.json, and my url query look like this "?config=config.json&session=local-xxxxxx", but it can't work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@Jasonzzzzzzzzzzzzzz hi there this would allow re-sharing the result to other users the "local" session URLs are not shareable note that it is not possible to share "jbrowse desktop" with web currently (not sure if that was what you are asking, but thought i'd mention it) |
Beta Was this translation helpful? Give feedback.
" I want user can see these things when they open the website (some tracks are selected and the hierarchicalTrackSelector is opened)."
you might consider using the URL param api, it has an easier to use interface than sessions
example
https://myip/?loc=1:1-100&assembly=Mmul_10&tracklist=true&tracks=track1,track2,track3
this navigates to a particular location, for a particular assembly, with some tracks turned on by default, and with the track selector turned on by default, on page load
you can put this URL as the iframe src if you are using iframe embedding
currently the "sessions" are difficult to construct programmatically, so the &tracks, &loc, &assembly, etc are a simplified method fo…