Hello Johannes,
Thank you for using the UCSC Genome Browser and your inquiry.
Could you clarify what you are trying to accomplish with these highlights? Do you have regions defined inside a custom track that you would like highlighted in the genome browser? Unfortunately, we do not have a way to use a custom track as the source of highlighting regions and colors at the moment but is in our work queue. If you would like email updates about the UCSC Genome Browser, you can subscribe to our Announcements List:
There is a workaround to pass highlight regions through the URL and the color is defined using hex codes. You could highlight these regions using the URL parameter on the following page:
highlight=<DB>.<CHROM>:<START>-<END>#<COLOR>|...
- highlight one or more regions in a given color on the image.
Note that the arguments have to be URL-encoded for Internet browsers,
so ":" becomes "%3A", "#" becomes "%23" and "|" becomes "%7C".- example link to highlight two parts of the ABO locus in red and blue.
Combining this highlight= parameter with the hubUrl=, you can load your hub with highlights. For example, you can use the following URL to load a hub and defines highlight regions for hg19:
A more complex alternative to add these highlights within a given region is to edit your cart. The "cart" is a hidden table that contains the persistent selections that users have made in the Genome Browser. You can do this by going to http://genome.ucsc.edu/cgi-bin/cartDump and then click the Show as updatable table option to modify your cart's contents. Once you can edit your cart, search for "highlight", and you should see a list of text highlights separated by "|" pipes, i.e.
You can add your highlights by modifying that field, clicking the refresh button at the top page, and then navigate back to the main Genome Browser page, http://genome.ucsc.edu/cgi-bin/hgTracks. To keep these highlights from being deleted, save your settings inside of a session.
I hope this is helpful. If you have any further questions, please reply to gen...@soe.ucsc.edu.
All messages sent to that address are archived on a publicly-accessible Google Groups forum.
If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
Jairo Navarro
UCSC Genomics Institute
Want to share the Browser with colleagues?
Host a workshop: http://bit.ly/ucscTraining
--
---
You received this message because you are subscribed to the Google Groups "UCSC Genome Browser Public Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genome+un...@soe.ucsc.edu.
To post to this group, send email to gen...@soe.ucsc.edu.
Visit this group at https://groups.google.com/a/soe.ucsc.edu/group/genome/.
To view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome/7EB2E3AD-C6FC-4D93-BF4D-956AD73DA200%40googlemail.com.
For more options, visit https://groups.google.com/a/soe.ucsc.edu/d/optout.