f49623d03093fdc8e7f06b65abb0b77efad6a3b9 Merge parents bbabbd5d256 7ec5fd8d353 mspeir Sun Oct 26 12:19:55 2025 -0700 fixed merge conflict. diff --cc src/hg/htdocs/goldenPath/help/hubBasics.html index 9ddd7a5821a,19df6a02d91..e09ea0f79b0 --- src/hg/htdocs/goldenPath/help/hubBasics.html +++ src/hg/htdocs/goldenPath/help/hubBasics.html @@@ -68,69 -68,70 +68,76 @@@ # shortLabels should be under 20 characters and longLabels under 70 shortLabel Example Hub longLabel Example Hub for useOneFile option useOneFile on email genome-www@soe.ucsc.edu genome hg38
If you have tracks across multiple assemblies, see the full track hub documentation.
- The most common track types are bigBed and bigWig, compressed, binary versions of - corresponding plain-text formats. Together they should cover much + The most common track types are bigBed and bigWig. Compressed, binary versions of + the corresponding plain-text formats. Together they should cover most of what you might want to display in the Genome Browser, from transcription peaks to - RNA-seq results. + RNA-seq signals.
You can use bigBed tracks to display discrete annotations, such as genes, transcription start sites, or conserved genomic elements. The bigBed format builds off the plain-text BED format and is thus flexible in terms of what fields are included. - Your file must start with a set of 12 standard fields (though not necessarily all of them), but + Your file must start with a minimum of 3, and up to 12, standard fields, but can also extend the format with any number of additional fields.
- Next, we'll discuss how to build a bigBed from a bed file.
bedToBigBed utility for your system type from
- our download
+ our download
server.
bedToBigBed to build your bigBed:
bedToBigBed -sort in.bed chrom.sizes myBigBed.bb
bigDataUrl setting in your hub.txt
+ other services.
+ bigDataUrl setting in your hub.txt.
Once you have built your bigBed files, it is time to create a stanza in your hub.txt file for that track. Here is what the required settings discussed above might look like for a basic bigBed track:
track bigBedRequiredSettings
shortLabel bigBed Required Settings
longLabel A bigBed Example with Required Settings
visibility pack
type bigBed 12 +
bigDataUrl gtexCaviar.chr7_155799529-155812871.bb
@@@ -174,63 -177,64 +183,64 @@@
And here is what that track looks like in the Genome Browser:
These common settings added options to the track configuration pop-up:
You can use bigWig to tracks to display continuous annotations, such as RNA-seq expression, conservation scores, or other - genome-wide scores. You can build a bigWig using one of two plain-text formats: + genome signal scores. You can build a bigWig using one of two plain-text formats: wiggle or bedGraph.
- Next, we'll discuss how to build a bigWig from a wig or bedGraph file.
wigToBigWig utility for your system type from
- our download
+ our download
server.
wigToBigWig in.bedGraph chrom.sizes myBigWig.bw
bigDataUrl setting
+ other services.
+ bigDataUrl setting.
The basic trackDb configuration for a bigWig track is similar to a bigBed track as
- all tracks required the same basic settings (track, shortLabel, longLabel, type, bigDataUrl).
+ all tracks require the same basic settings (track, shortLabel, longLabel, type, bigDataUrl).
This is what the configuration for a bigWig track might look like (the example
hub.txt includes other useful settings):
track bigWigExample
shortLabel bigWig Example
longLabel A bigWig Example with Commonly Used Settings
visibility pack
type bigWig -20 10.003
bigDataUrl hg38.phyloP100way.chr7_155799529-155812871.bw
color 60,60,140
The type line consists of two parts: