Question about generating trackDb.txt for Track Hubs

11 views
Skip to first unread message

Qianhui Wan

unread,
Jan 14, 2026, 2:00:18 PMJan 14
to gen...@soe.ucsc.edu
Hello,

I have a question about generating trackDb.txt from hub.txt and genomes.txt. I remember there being a function documented on the UCSC tutorial pages that handled this automatically. However, I can no longer find it.

Is this referring to the trackhub function/package? If so, could you please point me to the correct website or documentation that shows the relevant code?

Thank you so much for your help.

Best regards,

Qianhui Wan

Email: qw...@coh.org


------------------------------------------------------------
-SECURITY/CONFIDENTIALITY WARNING-

This electronic message and any transmitted files are intended to be for the use only of the named recipient, and may contain information that is confidential or privileged, including protected health information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify the sender immediately by replying to the sender at the electronic mail address noted above, and delete all copies of this message and any attachments. (LCP301)
------------------------------------------------------------

Jairo Navarro Gonzalez

unread,
Jan 20, 2026, 5:12:42 PMJan 20
to Qianhui Wan, gen...@soe.ucsc.edu

Hello,

Thank you for using the UCSC Genome Browser and sending your inquiry.

We do not have a command-line utility to generate a trackDb file for you, but we do have help pages with a template you can update for your research. For example, the following pages help explain how to create a track hub:

Hub Basics: https://genome.ucsc.edu/docs/hubs/hubBasics.html
Track Hub Quick Start Guide: https://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html

If you are interested in learning about the different trackDb functions that can be used in your track hub, please refer to the following definitions page:

https://genome.ucsc.edu/goldenPath/help/trackDb/trackDbHub.html

You may also be interested in using the "useOneFile on" setting, which lets you use a single file for hub.txt, genomes.txt, and trackDb.txt. The only limitation for this setting is that the trackHub can only be for one genome assembly.

https://genome.ucsc.edu/goldenPath/help/hgTracksHelp.html#UseOneFile

We are also offering hosting space for every user, and you can upload a bigBed, bigWig, BAM, VCF, etc directly to the UCSC Genome Browser. This feature is still under development, so any feedback or bug reports are appreciated. You can find this feature under the "Hub Upload" tab for the track hubs page:

https://genome.ucsc.edu/cgi-bin/hgHubConnect#hubUpload

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 Genome Browser


--

---
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 view this discussion visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome/CO6PR02MB769733CCE8D1CE244A0D4AA2C38FA%40CO6PR02MB7697.namprd02.prod.outlook.com.
Reply all
Reply to author
Forward
0 new messages