src/hg/makeDb/trackDb/README 1.95

1.95 2009/12/11 18:29:00 hiram
Indicate the loading procedure for a bigWig file.
Index: src/hg/makeDb/trackDb/README
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/trackDb/README,v
retrieving revision 1.94
retrieving revision 1.95
diff -b -B -U 4 -r1.94 -r1.95
--- src/hg/makeDb/trackDb/README	1 Dec 2009 05:36:23 -0000	1.94
+++ src/hg/makeDb/trackDb/README	11 Dec 2009 18:29:00 -0000	1.95
@@ -254,11 +254,17 @@
     corresponds to the count at which it gets as dark as it can get.  If maxVal is 0 then this
     will be calculated from the data itself.
 
 18. type bigWig [lower] [upper]
-    This uses a binary indexed file rather than a database table.  It is, other than
-    substituting "bigWig" for "wig" in the type line, the same as the "type wig"
-    explained above.
+    This uses a binary indexed file rather than a database table.  It is, other
+    than substituting "bigWig" for "wig" in the type line, the same as the
+    "type wig" explained above.  The database loading procedure is simply:
+    hgsql hg19 -e 'drop table if exists myLocalBigWig; \
+            create table myLocalBigWig (fileName varchar(255) not null); \
+            insert into myLocalBigWig values
+        ("/gbdb/hg19/bbi/myLocalBigWig.bw");' 
+    I believe this works even if the entry is a URL to a remote
+    bigWig file.
 
 If something lacks a type field it needs to have custom
 display routines.   You can remove a track from the
 browser by removing it from the .ra file and doing