Skip to content

Add color for bed track #2772

Discussion options

You must be logged in to vote

Hi !
I solved my issue. There was womething wrong with my bed file then I regenerated it and I added rgb() to the color column.
The command line I did was :
jbrowse add-track blast_clusters_simple.bb -a Virus1 --load copy --out /var/www/html/viruses/ --force --config '{"displays": [{"displayId": "basicdisplay","type":"LinearBasicDisplay", "renderer": {"color1": "jexl:get(feature, @thecolor@)", "type": "SvgFeatureRenderer"}}]}'

then
sed -i "s/@thecolor@/'thecolor'/g" /var/www/html/viruses/config.json

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cmdcolin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2771 on February 24, 2022 15:19.