Skip to content

Custom coloring for bed tracks #2561

Answered by cmdcolin
barslmn asked this question in Q&A
Dec 6, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi there

Currently we don't support itemRgb field in the BED, it would be a good feature and I attempted to get it added but was a little too hacky :)

There is a ticket for it here #1734

Currently you could use a customization to modify the color using a "jexl" callback

I made this work with your data by adding this BED file as a tabix BED track (bgzip yourfile.bed; tabix yourfile.bed.gz) then then added it to the config jbrowse add-track yourfile.bed.gz --load copy and then updating the config by hand to look like this

{
      "type": "FeatureTrack",
      "trackId": "test.bed",
      "name": "test.bed",
      "assemblyNames": ["hg19"],
      "adapter": {
        "type": "BedTabixAdapter…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@barslmn
Comment options

@cmdcolin
Comment options

@cmdcolin
Comment options

Answer selected by barslmn
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