947a8b9ea2a461b1a92629306de66e995d557c32 dschmelt Tue Apr 23 11:21:26 2019 -0700 Finishing cut off sentence, adding code tags in Ex4 #23354 diff --git src/hg/htdocs/goldenPath/help/bigGenePred.html src/hg/htdocs/goldenPath/help/bigGenePred.html index ec10044..3397494 100755 --- src/hg/htdocs/goldenPath/help/bigGenePred.html +++ src/hg/htdocs/goldenPath/help/bigGenePred.html @@ -96,46 +96,49 @@
bedToBigBed -as=bigGenePred.as -type=bed12+8 bigGenePred.txt chrom.sizes myBigGenePred.bb
Step 5. Move the newly created bigGenePred file (myBigGenePred.bb) to a web-accessible http, https, or ftp location. See hosting section if necessary.
Step 6. Construct a custom track using a single track line. Any of the track attributes will be available for use on bigBed tracks. The basic version of the track line will look something like this:
track type=bigGenePred name="My Big GenePred" description="A Gene Set Built from Data from My Lab" bigDataUrl=http://myorg.edu/mylab/myBigGenePred.bb
Step 7. Paste this custom track line into the text box on the custom -track management page. Click and you should be taken to a
+track page with your modified URL. Click and your track should +load successfully. Then click to be taken to the browser window +with your custom track at the top. Note that there might not be data at all positions. +Create a bigGenePred custom track using the bigGenePred file located on the UCSC Genome Browser http server, bigGenePred.bb. This file contains data for the hg38 assembly.
track type=bigGenePred name="bigGenePred Example One" description="A bigGenePred file" bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.bb
Custom tracks can also be loaded via one URL line. The link below loads the same bigGenePred track and sets additional parameters in the URL:
http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hgct_customText=track%20type=bigGenePred%20bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.bb
After this example bigGenePred track is loaded in the Genome Browser, click on the track to change display from dense to pack, then click on a gene in the browser's track display to view the gene details page. Note that the page offers links to translated protein, predicted mRNA, and genomic sequence.
@@ -152,31 +155,31 @@ .chr9:133,255,650-133,255,700
, and note that the track now displays amino acids.
Alternatively, you can also add a parameter in the custom track line, baseColorDefault=genomicCodons
,
to set amino acids to display by default:
browser position chr10:67,884,600-67,884,900
track type=bigGenePred baseColorDefault=genomicCodons name="bigGenePred Example Two" description="A bigGenePred file" visibility=pack bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.bb
-Paste the above into the hg38 custom track management +Paste the above into the hg38 custom track page to view an example of bigGenePred amino acid display at the beginning of the SIRT1 gene on chromosome 10.
In this example, you will create your own bigGenePred file from an existing pre-bigGenePred input file, a bed12+8 file.
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 will need gtfToGenePred, genePredTobigGenePred,
-and bedToBigBed. If you would like to convert a GFF file to bigGenePred, you will use
-gff3ToGenePred in place of the gtfToGenePred. You can download utilities from the
+You will need gtfToGenePred
, genePredTobigGenePred
,
+and bedToBigBed
. If you would like to convert a GFF file to bigGenePred, you will use
+gff3ToGenePred
in place of the gtfToGenePred
. You can download utilities from the
utilities directory.
wget
command. Skip this step if you already have a GTF
+ or GFF file.
wget http://genome.ucsc.edu/goldenPath/help/examples/bigGenePredExample4.gtf
gtfToGenePred
command.
gtfToGenePred -genePredExt bigGenePredExample4.gtf example4.genePred
- If you are converting a GFF file, use the gff3ToGenePred command.
+ If you are converting a GFF file, use the gff3ToGenePred
command.
gff3ToGenePred yourFile.gff example4.genePred
genePredToBigGenePred example4.genePred bigGenePredEx4.txt
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 bigGenePredEx4.txt hg38.chrom.sizes bigGenePredEx4.bb