Hello Enrique,
Thank you for your question about turning a bed12 into a bedDetail
custom track. BedDetail format uses either the first 3 standard bed
fields or the first 12 standard bed fields, plus two additional
fields, as explained here:
http://genome.ucsc.edu/FAQ/FAQformat#format1.7
These two additional fields are an ID field, and the second field is a
long description, and can contain HTML, as you have noted in your
example tracks. The problem with the bed12 you shared is that it was
missing the ID field after the blockStarts field.
Additionally, you can use ID field to dynamically generate links to
outside websites, like in the example track from the documentation:
track name=HbVar type=bedDetail description="HbVar custom track"
db=hg19 visibility=3
url="
http://globin.bx.psu.edu/cgi-bin/hbvar/query_vars3?display_format=page&mode=output&id=$$"
chr11 5246919 5246920 Hb_North_York 2619 Hemoglobin variant
chr11 5255660 5255661 HBD c.1 G>A 2659 delta0 thalassemia
Here "2619" will be substituted where the '$$' is in the URL:
http://globin.bx.psu.edu/cgi-bin/hbvar/query_vars3?display_format=page&mode=output&id=$$
There are many more URL substitutions available, as described here:
http://genome.ucsc.edu/goldenPath/help/trackDb/trackDbHub.html#url
Please let us know if you have any further questions!
Thanks,
Christopher Lee
UCSC Genomics Institute
Want to share the Browser with colleagues?
Host a workshop:
http://bit.ly/ucscTraining
Thank you again for your inquiry and using the UCSC Genome Browser. 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 forum. If your question includes sensitive data,
you may send it instead to
genom...@soe.ucsc.edu.
> --
>
> ---
> 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/CADv9Q1Bf3iBOHY0D-t-piDj4WaiQp8ZW54Y%2BcXAmN0eLf6zYFQ%40mail.gmail.com.
> For more options, visit
https://groups.google.com/a/soe.ucsc.edu/d/optout.