b02e6901b4ea4ef7eed31e5dbf07a8ed0833e0f4 hiram Wed Mar 14 10:50:45 2012 -0700 the sort usage message was incorrect diff --git src/utils/bedGraphToBigWig/bedGraphToBigWig.c src/utils/bedGraphToBigWig/bedGraphToBigWig.c index fb37804..67272eb 100644 --- src/utils/bedGraphToBigWig/bedGraphToBigWig.c +++ src/utils/bedGraphToBigWig/bedGraphToBigWig.c @@ -23,31 +23,31 @@ 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" + " sort -k1,1 -k2,2n 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}, };