Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple tracks to be centrally loaded #214

Closed
nds opened this issue May 18, 2023 · 4 comments · Fixed by #437
Closed

Multiple tracks to be centrally loaded #214

nds opened this issue May 18, 2023 · 4 comments · Fixed by #437

Comments

@nds
Copy link

nds commented May 18, 2023

We have a use case where we would like to "pre-load" tracks for the users. This will be a mix of GFFs and BAMs. We would like them to appear as separate tracks, and perhaps even be configured to display in different colours etc. At the moment, the admin users can load only GFFs centrally by using "Import features"; however, all information gets collapsed into the same track. This would be such a useful feature. Thank you.

@garrettjstevens
Copy link
Contributor

This functionality is provided by JBrowse, which Apollo is a plugin for. Exactly how this is done depends on how your Apollo is deployed, but if the tracks you want to use have publicly available URLs it would be straightforward. Basically you would want to use the JBrowse CLI to modify your config.json. You can read about doing that here. If Apollo is deployed directly on a server you can do this in-place, and if you're using Docker you would then re-copy the config.json to your container, like here. If you can provide more details about where the track files will be and how Apollo is deployed, I can possibly provide more details.

@sgiorgetti
Copy link

Thanks @garrettjstevens - I have a couple of additional questions though.

If we pre-load some tracks by appropriately setting our config.json, what happens when we (admin) upload 1 more GFF via "Import Features"? I suppose they are loaded in a different track. May you confirm?

Also, if we (wicked admins) decided to import another set of features (GFF) via "Import Features" again, do these latter get collapsed into the same track?

@garrettjstevens
Copy link
Contributor

Anything added via the "Import Features" menu item under the Apollo menu will get added to the Apollo track (shows up as "Annotations ()" in the track selector. That track will always show up when Apollo is loaded, even if it has nothing in it. If there are already features there, the imported features get added to the existing features in the Apollo track.

Any tracks added to the config.json will show up as separate tracks in the track selector.

@sgiorgetti
Copy link

Thanks @garrettjstevens !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants