8b76506ec11f2a1bd3bbdae4e27afa7894754dfc
dschmelt
Wed Apr 10 17:10:34 2019 -0700
Changing example4 #21582
diff --git src/hg/htdocs/goldenPath/help/bigGenePred.html src/hg/htdocs/goldenPath/help/bigGenePred.html
index 8f3d8d8..92942be 100755
--- src/hg/htdocs/goldenPath/help/bigGenePred.html
+++ src/hg/htdocs/goldenPath/help/bigGenePred.html
@@ -201,62 +201,63 @@
Run the bedToBigBed
utility to create the bigGenePred output file (step 4,
above):
bedToBigBed -type=bed12+8 -tab -as=bigGenePred.as bigGenePred.txt hg38.chrom.sizes bigGenePred.bb
In this example, you will convert a GTF file to bigGenePred using command line utilities. -You can download utilities from the +You will need gtfToGenePred, genePredTobigGenePred, +and bedToBigBed. You can download utilities from the utilities directory.
wget http://genome.ucsc.edu/goldenPath/help/examples/bigGenePredExample4.gtf
gtfToGenePred -genePredExt bigGenePredExample4.gtf example4.genePred
genePredToBigGenePred example4.genePred ex4BigGenePred.txt
genePredToBigGenePred example4.genePred bigGenePred.txt
fetchChromSizes hg38 > hg38.chrom.sizes
+ wget http://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.chrom.sizes
wget http://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.as
bedToBigBed -type=bed12+8 -tab -as=bigGenePred.as ex4BigGenePred.txt hg38.chrom.sizes ex4BigGenePred.bb
bedToBigBed -type=bed12+8 -tab -as=bigGenePred.as ex4BigGenePred.txt hg38.chrom.sizes bigGenePred.bb
http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hgct_customText=track%20type=bigGenePred%20bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/ex4bigGenePred.bb
+http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hgct_customText=track%20type=bigGenePred%20bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.bbYou can also add your data in the custom track management page. This allows you to set position, configuration options, and write a more complete desciption. If you want to see codons, you can right click, then click configure codon view or set these options using the
baseColorDefault=genomicCodons
code as is done below.
-browser position chr10:67,884,600-67,884,900
-track type=bigGenePred baseColorDefault=genomicCodons name="bigGenePred Example Four" description="BGP Made from genePred" visibility=pack bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/ex4bigGenePred.bb
browser position chr19:44905795-44909393
+track type=bigGenePred baseColorDefault=genomicCodons name="bigGenePred Example Four" description="BGP Made from genePred" visibility=pack bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.bb
If you would like to share your bigGenePred data track with a colleague, learn how to create a URL link to your data by looking at Example #6.
Because the bigGenePred files are an extension of bigBed files, which are indexed binary files, it
can be difficult to extract data from them. UCSC has developed the following programs to
assist in working with bigBed formats, available from the
bigBedToBed
— converts a bigBed file to ASCII BED format.
bigBedSummary
— extracts summary information from a bigBed
file.