GMOD / jbrowse-registry

JBrowse 1.x Plugin Registry
https://gmod.github.io/jbrowse-registry/
BSD 2-Clause "Simplified" License
14 stars 8 forks source link

Add manytracks example #39

Closed cmdcolin closed 7 years ago

cmdcolin commented 7 years ago

New plugin to help in configuring long lists of tracks, link here https://github.com/cmdcolin/manytracks

The idea is that before, you had something like this, which can be cumbersome to maintain

[tracks.blah1]
urlTemplate=blah1.bam
type=...
storeClass=...
[tracks.blah2]
urlTemplate=blah2.bam
type=...
storeClass=...
[tracks.blah3]
urlTemplate=blah3.bam
type=...
storeClass=...

Where this plugin allows you to just say

[manytracks.blah]
type=...
storeClass=...
urlTemplates+=blah1.bam
urlTemplates+=blah2.bam
urlTemplates+=blah3.bam

This could potentially be made part of JBrowse core, but I thought it could be interesting as a plugin also