Skip to content

Setting Colors for the Ref Sequence #2082

Discussion options

You must be logged in to vote

JBrowse assumes the reference sequence is DNA, not protein. As a hack, you could try adjusting the theme so that A, T, C, and G have the same color as an unknown base. That would involve putting the theme in the configuration in the top level of your config file:

{
  "configuration":{
    "theme": {
      "palette": {
        "bases": {
          "A": {
            "main": "#aaa"
          },
          "C": {
            "main": "#aaa"
          },
          "G": {
            "main": "#aaa"
          },
          "T": {
            "main": "#aaa"
          }
        }
      }
    }
  }
}

There's no guarantee that other things would work with a protein reference sequence, though.

Replies: 1 comment 2 replies

Comment options

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

@garrettjstevens
Comment options

Answer selected by Vishvak2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants