Question: Display A Bed With Track Definition Line
0
gravatar for Davide Cittaro
8.3 years ago by
Davide Cittaro140 wrote:
Hi there, is there a way to display a bed file to UCSC setting the track name and description automatically? I mean, if the bed file contains only the data tabular data, how can I add "track type=bed name=dataset.name" at display time? I get a generic "User track" instead, that means that I have to rename it every time in the UCSC browser (otherwise it will be overwritten by any other custom track ) d /* Davide Cittaro Cogentech - Consortium for Genomic Technologies via adamello, 16 20139 Milano Italy tel.: +39(02)574303007 e-mail: davide.cittaro@ifom-ieo-campus.it */
• 1.0k views
ADD COMMENTlink modified 8.3 years ago by Jennifer Hillman Jackson25k • written 8.3 years ago by Davide Cittaro140
0
gravatar for Jennifer Hillman Jackson
8.3 years ago by
United States
Jennifer Hillman Jackson25k wrote:
Hi Davide, Use the Text Manipulation and Edit Attribute functions to build a "custom" Custom track for UCSC display. 1 - load a track line (with an optional browser line) into your history 2 - concatenate it with your tab file 3 - convert (label) the data as "bed" 4 - the "display at UCSC" function then interprets the track (& browser) lines just the same as if you loaded the file directly at UCSC I created a history for you as an example: http://main.g2.bx.psu.edu/u/jen-bx-galaxy-edu/h/label-ct-for-ucsc- display The history starts with a bed file from UCSC main. I deconstructed it down into a plain tab file then built it back up into a CT in bed format with a track line. I expanded (cloned) some steps for clarity - see the "Edit Attribute" comments for details about what I did. Please be sure to let us know if would like more help or find something unexpected. Have a nice weekend, Jen Galaxy Team -- Jennifer Jackson http://usegalaxy.org
ADD COMMENTlink written 8.3 years ago by Jennifer Hillman Jackson25k
Hi Jennifer, Right, I may try to create a workflow for this. Meanwhile I've created a xml display_application trying to override the default bed display. BTW, I've asked the UCSC team if it will be possible to override track definitions via CGI variables... if the feature request will be accepted, it will be possible for the galaxy bed displayer to add a (say) hgt.trackName=foo in the redirect URL Thanks! d /* Davide Cittaro Cogentech - Consortium for Genomic Technologies via adamello, 16 20139 Milano Italy tel.: +39(02)574303007 e-mail: davide.cittaro@ifom-ieo-campus.it */
ADD REPLYlink written 8.3 years ago by Davide Cittaro140
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 184 users visited in the last hour