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

track metadata should be able to override the track's "key" #957

Closed
rbuels opened this Issue Jan 23, 2018 · 5 comments

Comments

Projects
None yet
4 participants
@rbuels
Collaborator

rbuels commented Jan 23, 2018

When a "key" attribute is set in a track's metadata, I think that should be used for the track label if a key is not already used in the track configuration.

On Sun, Jan 14, 2018 at 4:11 PM Loraine Guéguen lgueguen@sb-roscoff.fr wrote:

Hi,

I have a JBrowse instance (1.12.1) with >500 tracks.
I use faceted trackSelector, and the metadata are stored in a CSV file
loaded with JSON attribute "trackMetadata".

Each track has a short name (defined in the CSV file) which is a
human-readable name. I would like that this short name is displayed as
track "title" when the track is displayed on the browser, that is to
say, I'd like that this short name is used as "key" for the track.

Is it possible ?
(naming the short-name CSV column as "key" is not working)

And the best would be, for a track, that the key defined in the CSV file
overrides the key defined in the trackList.json file.

Looking forward to reading your answers.
Thanks

Loraine

@loraine-gueguen

This comment has been minimized.

Contributor

loraine-gueguen commented Jan 23, 2018

It would be great to have this in the codebase!
Yes, I guess it is better to keep the current behavior by making the "key" in the track metadata only be used if the key in the trackList.conf is missing. I will delete the "key" attributes in my trackList.json.
FYI, I send the same question on the apollo list. Deepak Unni answered and created a JBrowse plugin with this functionality. See here: http://gmod.827538.n3.nabble.com/add-track-key-attribute-from-CSV-metadata-file-td4059024.html, https://github.com/deepakunni3/RenameTracks
@deepakunni3

@deepakunni3

This comment has been minimized.

Contributor

deepakunni3 commented Jan 23, 2018

@rbuels @loraine-gueguen I agree. If we can have this functionality out of the box, even better 👍

@rbuels rbuels modified the milestone: 2.0.7 Jan 23, 2018

@rbuels rbuels closed this in #958 Jan 24, 2018

@wafflebot wafflebot bot removed the in progress label Jan 24, 2018

@loraine-gueguen

This comment has been minimized.

Contributor

loraine-gueguen commented Feb 2, 2018

When is planned the next JBrowse release ? @rbuels

@rbuels

This comment has been minimized.

Collaborator

rbuels commented Feb 5, 2018

@loraine-gueguen we are still setting up our release schedule, so things are a little bit in flux, but right now it's scheduled to be on February 14, and then every two weeks after that

@loraine-gueguen

This comment has been minimized.

Contributor

loraine-gueguen commented Feb 6, 2018

@rbuels ok, great! thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment