74083f96c749e637befe819c250e79b0a0ba378a hiram Wed Feb 8 11:25:29 2012 -0800 mention fetchChromSizes in these usage messages, redmine 6844 diff --git src/utils/bedGraphToBigWig/bedGraphToBigWig.c src/utils/bedGraphToBigWig/bedGraphToBigWig.c index f9f09c3..fb37804 100644 --- src/utils/bedGraphToBigWig/bedGraphToBigWig.c +++ src/utils/bedGraphToBigWig/bedGraphToBigWig.c @@ -20,30 +20,32 @@ static int itemsPerSlot = 1024; static boolean doCompress = FALSE; void usage() /* Explain usage and exit. */ { errAbort( "bedGraphToBigWig v %d - Convert a bedGraph program to bigWig.\n" "usage:\n" " bedGraphToBigWig in.bedGraph chrom.sizes out.bw\n" "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" + "Use the script: fetchChromSizes to obtain the actual chrom.sizes information\n" + "from UCSC, please do not make up a chrom sizes from your own information.\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." , bbiCurrentVersion, blockSize, itemsPerSlot ); } static struct optionSpec options[] = { {"blockSize", OPTION_INT}, {"itemsPerSlot", OPTION_INT}, {"unc", OPTION_BOOLEAN}, {NULL, 0},