e2f1d4f8b6309f36a64c62fd87a85434811b05f3 dschmelt Tue Sep 10 09:33:46 2019 -0700 Adding hard link to save users 1 command in bedToBigBed conversion #24092 diff --git src/hg/htdocs/goldenPath/help/bigGenePred.html src/hg/htdocs/goldenPath/help/bigGenePred.html index ea1eca6..60ab3d5 100755 --- src/hg/htdocs/goldenPath/help/bigGenePred.html +++ src/hg/htdocs/goldenPath/help/bigGenePred.html @@ -212,40 +212,40 @@ utilities directory.

  1. Obtain a GTF file using the wget command. Skip this step if you already have a GTF or GFF file.
    wget http://genome.ucsc.edu/goldenPath/help/examples/bigGenePredExample4.gtf
  2. Convert the GTF file to genePred extended format using the gtfToGenePred command.
    gtfToGenePred -genePredExt bigGenePredExample4.gtf example4.genePred
    If you are converting a GFF file, use the gff3ToGenePred command.
    gff3ToGenePred yourFile.gff example4.genePred 
  3. Convert the genePred extended file to a pre-bigGenePred text file.
    genePredToBigGenePred example4.genePred bigGenePredEx4.txt
  4. - Obtain helper files for the conversion to binary bigGenePred. If you are not using hg38, - you can find the chrom.sizes file for your organism in the - downloads directory under "Full data set". -
    wget http://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.chrom.sizes
    -wget http://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.as
  5. + Download a helper file that specifies column names. +
    wget https://genome.ucsc.edu/goldenPath/help/examples/bigGenePred.as
    +
  6. - Convert your text bigGenePred to a binary indexed format. -
    bedToBigBed -type=bed12+8 -tab -as=bigGenePred.as bigGenePredEx4.txt hg38.chrom.sizes bigGenePredEx4.bb
  7. + Convert your text bigGenePred to a binary indexed format. If you are not using hg38, + you will need to replace the hg38.chrom.sizes file path with your organism's file path from the + downloads directory under "Genome Sequence Files". +
    bedToBigBed -type=bed12+8 -tab -as=bigGenePred.as bigGenePredEx4.txt http://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.chrom.sizes bigGenePredEx4.bb
  8. - Put your binary indexed file in a web-accessible location. See the + Put your binary indexed file, bigGenePredEx4.bb, in a web-accessible location. See the hosting section for more information.
  9. 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.