89c380d28049d3f28fd09a897260d1ee0fbb3248 dschmelt Mon Apr 29 15:32:09 2019 -0700 Making upper case Browser for code review #23399 diff --git src/hg/htdocs/goldenPath/help/bigGenePred.html src/hg/htdocs/goldenPath/help/bigGenePred.html index 3397494..bc5537c 100755 --- src/hg/htdocs/goldenPath/help/bigGenePred.html +++ src/hg/htdocs/goldenPath/help/bigGenePred.html @@ -97,80 +97,80 @@

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 page with your modified URL. Click and your track should -load successfully. Then click to be taken to the browser window +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.

Examples

Example #1: Create a Custom Track

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.

  1. Construct a track line that references the hosted file:

    track type=bigGenePred name="bigGenePred Example One" description="A bigGenePred file" bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.bb
  2. Paste the track line into the custom track page for the human assembly, hg38.
  3. Click the button.

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 +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.

Example #2: Display Amino Acids

In this example, you will configure the bigGenePred track loaded in Example #1 to display codons and amino acid numbering:

  1. On the bottom of the gene details page, click the "Go to User Track track controls" link.
  2. Change the "Color track by codons:" option from "OFF" to "genomic codons" and change the display mode to "full". Then click .
  3. Zoom to a region with track data, such as chr9:133,255,650-133,255,700, and note that the track now displays amino acids.
  4. Return to the track controls page and click the box next to "Show codon numbering", - then click . The browser tracks display will now show amino acid + then click . The Browser tracks display will now show amino acid letters and numbering.

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 page to view an example of bigGenePred amino acid display at the beginning of the SIRT1 gene on chromosome 10.

An image of a track with codons colored

@@ -238,31 +238,31 @@ hosting section for more information.
  • To view this example, you can click this into this Browser link. To view your own data, paste the link into your web browser and replace the URL after "bigDataUrl=" with a link to your own hosted data.
     http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&position=chr19:44905790-44909388&hgct_customText=track%20type=bigGenePred%20bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/bigGenePredEx4.bb
    You 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 this options using baseColorDefault=genomicCodons as is done below.
    browser position chr19:44905790-44909388 
     track type=bigGenePred baseColorDefault=genomicCodons name="bigGenePred Example Four" description="Ex4:BigGenePred Made from GTF" visibility=pack bigDataUrl=http://genome.ucsc.edu/goldenPath/help/examples/bigGenePredEx4.bb
    Once you are done, you should have a track on the Genome Browser like the one below.
  • - An image of a bigGenePred track on the browser + An image of a bigGenePred track on the Browser

    Sharing your data with others

    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 on the custom track help page.

    Extracting data from bigBed format

    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 binary utilities directory.