Setting Colors for the Ref Sequence #2082
-
Hello! I am trying to configure a browser with a viral protein sequence as the reference sequence. Is there any way to configure the browser to recognize the reference sequence (which is a FASTA amino acid sequence) as a protein sequence i.e., is there any way to NOT color the A,T,C,Gs in the reference sequence? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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. |
Beta Was this translation helpful? Give feedback.
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:
There's no guarantee that other things would work with a protein reference sequence, though.