ScilifelabDataCentre / genome-portal

This is the repository for the Swedish Reference Genome Portal, a service facilitating access and discovery of genome data of non-model eukaryotic species studied in Sweden
https://genomes.scilifelab.se/
MIT License
0 stars 0 forks source link

Initial JBrowse configurations #34

Closed kwentine closed 2 months ago

kwentine commented 2 months ago

This PR allows to specify initial JBrowse configurations, that will be used as a starting point to generate de fully-fledged config.json.

To add an initial JBrowse configuration, create config.json alongside config.yaml in the species configuration directory.

The final config.json will include the elements in the initial configuration, plus all those specified in config.yaml However if a track or assembly is present both in the initial configuration and config.yaml, the latter will take precedence (no fine-grained merge is performed).

Intended use cases:

kwentine commented 2 months ago

I'm so happy that you could engage so actively with the feature and test some of the use cases.

Along with supplying default sessions (which we can maybe dedicate a branch to), it opens the possibility for quite a lot of tweaking (color palette and logo for example).

Merging in main periodically to keep a feature branch up-to-date is a practice I follow as well when, like in this case:

brinkdp commented 2 months ago

Sounds good to dedicate a branch to continue investigating defaultSessions. There are indeed many interesting configuration points to try.