>> Dear gurus,
>>
>> I have a very common problem when displaying custom tracks: I am
>> linking out to a database that has ID fields in the URL but I want to
>> display more human-readable data on the genome browser.
>>
>> Apart from writing my own track type and adding it to my local
>> mirror,
>> is there any way how one could achieve this with customTracks alone?
>> (Do you have plans adding such a function to the custom tracks, there
>> are really many external databases that could be handled with one
>> additional bed field ?)
>>
>> Thanks in advance
>> Max

I don't know if it works with custom tracks but for your local mirror, 
check in the README file under trackDb/.  You can combine the id and name 
you want displayed and have just the id used in the url.

       Additional replacement item strings can be:
         $T - database table name
         $S - chromomosome name (scaffold name on scaffold assemblies)
         $[ - chromStart location (zero relative)
         $] - chromEnd location
         $s - chromomosome name without chr prefix
                         (or without scaffold_/Scaffold_ on scaffold assemblies)
         $D - database name
         $P - item name portion before first : in name
         $p - item name portion after first : in name up to next colon

Belinda

_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to