legumeinfo / LIS-autocontent

Scrapes the LIS datastore and populates various configs and databases for deployment
Apache License 2.0
0 stars 1 forks source link

use of assembly aliases in auto-generated jbrowse2 configs is problematic for some purposes #14

Closed adf-ncgr closed 1 year ago

adf-ncgr commented 1 year ago

I just ran into some issues with text searching that seem to be caused by inadequate understanding by some parts of the jbrowse ecosystem of the use of reference genome aliasing (ie things specified as --alias to add-assembly).

In my case it was both:

I think @ctcncgr has also seen some other contexts in which similar problems arise if you try to use the alias for a genome rather than the given "name". So, this may well be a jbrowse2 bug but for now I think it would be better for the config generation to use the forms like "arahy.Tifrunner.gnm1" as the name and use --displayName to set the "human readable" version.

This looks like a simple change in way the jbrowse cli is called, I can PR it but this provides the context for why I'm proposing the change.

ctcncgr commented 1 year ago

Closing. Accepted PR #15

I do believe this to be a bug in jbrowse2, but maybe it isn't. Either way this is a good solution. Thanks @adf-ncgr