Hello Vinay, When you are loading the data, use the track line attribute 'url=<external_url>'.
This attribute is described here: http://genome.ucsc.edu/goldenPath/help/hgTracksHelp.html#TRACK "url=<external_url> - Defines a URL for an external link associated with this track. This URL will be used in the details page for the track. Any '$$' in this string this will be substituted with the item name. There is no default for this attribute." The idea is to have the url point to a details page, per "name" item in the PSL formatted file, that you host on your own server. For PSL format, "name" would be the column labeled "qName". When an item is clicked on, a short description page will come up in the browser, that includes the "name" value as a link to your server. PSL FAQ: http://genome.ucsc.edu/FAQ/FAQformat.html#format2 Custom track complete FAQ: http://genome.ucsc.edu/goldenPath/help/hgTracksHelp.html#CustomTracks One important thing to note is that if a user/password is part of the URL, be sure to escape non-alphanumeric characters. How to exactly do this is is described on the very bottom of the Custom track submission form, but I am also pasting it here for easy reference: "If a login and password is required to access data loaded through a URL, this information can be included in the URL using the format protocol://user:[email protected]/somepath. Only Basic Authentication is supported for HTTP. Note that passwords included in URLs are not protected. If a password contains a non-alphanumeric character, such as @, the character must be replaced by the hexidecimal representation for that character. For example, in the password my...@wk, the @ character should be replaced by %40, resulting in the modified password mypwd%40wk." I hope this information is helpful. Please feel free to contact the help mailing list again if you require further assistance. Best regards, Jen UCSC Genome Browser Support http://genome.ucsc.edu/contacts.html [email protected] [email protected] On 7/7/10 11:53 AM, Mittal, Vinay K wrote: > Hi, > I've uploaded my custom tracks in PSL format to the web baesd UCSC genome > browser. Under each track label (name) I have several lines (psl records) and > I want individual information to be displayed on the default detail page as > click on the psl record in the browser. It is same as we have for "UCSC > Genes" track. As I click on each known gene I get different information for > each individual gene even though all the genes are under one track "UCSC > Genes". Can I do something like that with the custom annotation tracks? > > Thanks. > > _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
