Add color for bed track #2772
-
Hi, none of them worked |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @lalalagartija, I tried using the same For reference, this is what I see when running that command (modified to use my own bigbed file): |
Beta Was this translation helpful? Give feedback.
-
Hi, The resulting track on Jbrowse2 is empty. I can't see any of the bed features. " Do you happen to know what I am doing wrong , |
Beta Was this translation helpful? Give feedback.
-
Hi ! then |
Beta Was this translation helpful? Give feedback.
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