GMOD / jbrowse

JBrowse 1, a full-featured genome browser built with JavaScript and HTML5. For JBrowse 2, see https://github.com/GMOD/jbrowse-components.
http://jbrowse.org
Other
463 stars 199 forks source link

Category Flag for flatfile-to-json.pl #1539

Closed mwylerCH closed 4 years ago

mwylerCH commented 4 years ago

Hi, would it not be handy to add a '--category' flag to flatfile-to-json.pl for the hierarchical track selector? Or I'm missing a faster option then to subsequently modify the entries in trackList.json?

cmdcolin commented 4 years ago

You can use the --config argument to specify generic JSON to attach to the track entry

bin/flatfile-to-json.pl --gff file.gff3 --config '{"category": "My Category"}' --trackLabel my_track

It might be nice to have a special flag but flatfile-to-json perhaps, but hopefully that helps

mwylerCH commented 4 years ago

Many thanks for the quick and helpful reply. I will close the issue, from my side it's fine.