Skip to content

Custom colors when adding a MultiQuantitativeTrack JSON through jbrowse CLI #4149

Answered by cmdcolin
weber8thomas asked this question in Q&A
Discussion options

You must be logged in to vote

multiwiggleadapter is actually a case where you can specify the color in the adapter config section

*many other track types are not like this and specify the color in the "display" config for example, but there is a shortcut for multiwiggleadapter to specify

{
      "type": "MultiQuantitativeTrack",
      "trackId": "example",
      "name": "example",
      "assemblyNames": ["hg19"],
      "adapter": {
        "type": "MultiWiggleAdapter",
        "subadapters": [
          {
            "type": "BigWigAdapter",
            "color": "purple",
            "name":"k1",
            "bigWigLocation": {"uri": "https://www.encodeproject.org/files/ENCFF055ZII/@@download/ENCFF055ZII.bigWig"}
    …

Replies: 1 comment 3 replies

Comment options

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

@cmdcolin
Comment options

@weber8thomas
Comment options

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