From: Chen X. <xi...@ev...> - 2022-06-21 04:45:07
|
Dear Madam/Sir, We have installed your JBrowse 2 on our server to visualize our sequencing data. Currently, we met a problem about coloring tabix-indexed BED or bigBed tracks. We put RGB values at the 9th column, and tried by following "https://github.com/GMOD/jbrowse-components/discussions/2561" and "https://github.com/GMOD/jbrowse-components/discussions/2772", but it did not work. Our configuration in "config.json" is similar to (we tested with many small changes): "displays": [ { "type": "LinearBasicDisplay", "displayId": "color_test", "renderer": { "type": "SvgFeatureRenderer", "color1": "jexl:get(feature, 'field8')=='255,0,0'?'red':'blue'" } } ], With the codes above, it always shows blue color, even when the itemRgb column is '255,0,0', and we also tried with 'field9', but it did not work either. I guess that we did not put the correct name of the feature there. Could you please help us on it? Here are two further quesions: 1. It is great to have this "LinearArcDisplay" in JBrowse 2, can we also color lines in this type of display? 2. We would like to visualize data in the format of UCSC interact ("https://genome.ucsc.edu/goldenPath/help/interact.html"), which is actually similar to your LinearArcDisplay. Do you plan to support it? Thank you very much and look forward to your reply! Best wishes, Chen Xie |