src/utils/userApps/bigBedWigs.txt 1.2

1.2 2009/03/30 17:37:01 hiram
Add note about removing track and browser lines
Index: src/utils/userApps/bigBedWigs.txt
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/userApps/bigBedWigs.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/utils/userApps/bigBedWigs.txt	26 Mar 2009 23:15:45 -0000	1.1
+++ src/utils/userApps/bigBedWigs.txt	30 Mar 2009 17:37:01 -0000	1.2
@@ -15,14 +15,16 @@
 	working with.
 3) Create wig format files following the definitions in:
 	http://genome.ucsc.edu/goldenPath/help/wiggle.html
 4) Run the command line
-       wigToBigWig input.wig chrom.sizes myBigWig.bw
+	wigToBigWig input.wig.gz chrom.sizes myBigWig.bw
+    if your input.wig.gz file has 'track' and 'browser' lines:
+	zcat input.wig.gz | egrep -v "^track|^browser" \
+	    wigToBigWig stdin chrom.sizes myBigWig.bw
 5) Move the output bigWig file to a http, https, or ftp site.
 6) Create a custom track with just the track line.
 	This will look something like:
-       track type=bigWig name="My Big Wig" description="A Graph of Cool
-Data from My Lab" dataUrl=http://myorg.edu/mylab/myBigWig.bw
+       track type=bigWig name="My Big Wig" description="A Graph of Cool Data from My Lab" dataUrl=http://myorg.edu/mylab/myBigWig.bw
 
    (track lines are single lines, no line breaks are allowed)
 
 7) Paste this custom track line into the text box in the
@@ -48,14 +50,16 @@
 	working with.
 3) Create bed format files following the definitions in:
 	http://genome.ucsc.edu/goldenPath/help/customTrack.html#BED
 4) Run the command line
-       bedToBigBed input.wig chrom.sizes myBigBed.bb
+       bedToBigBed input.bed.gz chrom.sizes myBigBed.bb
+    if your input.bed.gz file has 'track' and 'browser' lines:
+	zcat input.bed.gz | egrep -v "^track|^browser" \
+	    bedToBigBed stdin chrom.sizes myBigWig.bb
 5) Move the output bigBed file to a http, https, or ftp site.
 6) Create a custom track with just the track line.
 	This will look something like:
-       track type=bigBed name="My Big Bed" description="Cool Genome
-Annotations from My Lab" dataUrl=http://myorg.edu/mylab/myBigBed.bb
+       track type=bigBed name="My Big Bed" description="Cool Genome Annotations from My Lab" dataUrl=http://myorg.edu/mylab/myBigBed.bb
 
    (track lines are single lines, no line breaks are allowed)
 
 7) Paste this custom track line into the text box in the