src/utils/bedGraphToBigWig/bedGraphToBigWig.c 1.27

1.27 2010/05/19 19:08:42 hiram
add information about how to sort the input file with sort
Index: src/utils/bedGraphToBigWig/bedGraphToBigWig.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/bedGraphToBigWig/bedGraphToBigWig.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -B -U 4 -r1.26 -r1.27
--- src/utils/bedGraphToBigWig/bedGraphToBigWig.c	6 Apr 2010 23:42:59 -0000	1.26
+++ src/utils/bedGraphToBigWig/bedGraphToBigWig.c	19 May 2010 19:08:42 -0000	1.27
@@ -31,8 +31,10 @@
   "where in.bedGraph is a four column file in the format:\n"
   "      <chrom> <start> <end> <value>\n"
   "and chrom.sizes is two column: <chromosome name> <size in bases>\n"
   "and out.bw is the output indexed big wig file.\n"
+  "The input bedGraph file must be sorted, use the unix sort command:\n"
+  "  sort -k1,1 -k2,2 unsorted.bedGraph > sorted.bedGraph\n"
   "options:\n"
   "   -blockSize=N - Number of items to bundle in r-tree.  Default %d\n"
   "   -itemsPerSlot=N - Number of data points bundled at lowest level. Default %d\n"
   "   -unc - If set, do not use compression."