50946adc9f3a5fc15fa4c3c1173eb75667ee5891 mspeir Wed Jan 21 10:36:21 2026 -0800 adding some p tags based on CR, refs #36933 diff --git src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html index 2dcbca0b0f4..8b309d4661a 100755 --- src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html +++ src/hg/htdocs/goldenPath/help/hgTrackHubHelp.html @@ -1104,52 +1104,54 @@

Using include statements for large Track Hubs

Track Hubs also support the use of include statements, which allow one to insert a file containing a set of trackDb stanzas into the primary trackDb. This can be useful when you have a hub where you have the same track across several assemblies, e.g. you're creating a new gene annotation pipeline and have generated predictions across several species to compare. You can also use include statements for breaking up large, complex track configurations, such as those with several large container tracks. You can put the trackDb configuration stanzas for each container track into a separate file and then use an include statement in the primary trackDb.txt to pull them all into your hub. Include statements also function with the useOneFile setting.

-

Here's an example of what your hub directory structure might look like: +

Here's an example of what your hub directory structure might look like:

+

myHub/ - directory containing track hub files
 
 hub.txt
 genomes.txt
 trackDb.geneAnnotations.txt
 hg38/
      trackDb.txt
      gene_annotations.bigBed
      trackDb.cell_type_rnaseq.txt
      rnaseq_files/
         ...
 mm10/
      trackDb.txt
      gene_annotations.bigBed
-
+

To include these two trackDb files for hg38, you would add the following lines to your hg38/trackDb.txt: +

include ../trackDb.geneAnnotations.txt
 include trackDb.cell_type_rnaseq.txt
-
+

Note: Using include statements may cause slower load times on high-latency connections due to our software checking the time of all included files. If this is the case, you should avoid include statements and instead concatenate your trackDb files. This shouldn't be a problem on low-latency connections.

Registering a Track Hub with UCSC

If you would like to share your track hub with other Genome Browser users, you can register your hub with UCSC by contacting the Genome Browser technical support mailing list at genome@soe.ucsc.edu. Please include the URL of your hub.txt file in the message. Once registered, your hub will appear as a link on the Public Hubs tab on the Track Hubs page. To assist developers of Public Hubs, there is a