src/utils/bedGraphToBigWig/bedGraphToBigWig.c 1.22

1.22 2009/11/16 18:12:04 kent
Making compression the default for the bigBed and bigWig creators.
Index: src/utils/bedGraphToBigWig/bedGraphToBigWig.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/bedGraphToBigWig/bedGraphToBigWig.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -B -U 4 -r1.21 -r1.22
--- src/utils/bedGraphToBigWig/bedGraphToBigWig.c	13 Nov 2009 23:46:50 -0000	1.21
+++ src/utils/bedGraphToBigWig/bedGraphToBigWig.c	16 Nov 2009 18:12:04 -0000	1.22
@@ -34,17 +34,17 @@
   "and out.bw is the output indexed big wig file.\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"
-  "   -compress - If set use zlib compression."
+  "   -unc - If set, do not use compression."
   , bbiCurrentVersion, blockSize, itemsPerSlot
   );
 }
 
 static struct optionSpec options[] = {
    {"blockSize", OPTION_INT},
    {"itemsPerSlot", OPTION_INT},
-   {"compress", OPTION_BOOLEAN},
+   {"unc", OPTION_BOOLEAN},
    {NULL, 0},
 };
 
 struct sectionItem
@@ -532,9 +532,9 @@
 {
 optionInit(&argc, argv, options);
 blockSize = optionInt("blockSize", blockSize);
 itemsPerSlot = optionInt("itemsPerSlot", itemsPerSlot);
-doCompress = optionExists("compress");
+doCompress = !optionExists("unc");
 if (argc != 4)
     usage();
 bedGraphToBigWig(argv[1], argv[2], argv[3]);
 return 0;