053aa70674fdeda9fbbbaf529a5ea3903ef1b2d6 galt Thu Jan 9 15:26:23 2014 -0800 bigWigCat - adding helpful information to the usage statement about creating the right input files. diff --git src/utils/bigWigCat/bigWigCat.c src/utils/bigWigCat/bigWigCat.c index 1b1dfbc..dda9e1f 100644 --- src/utils/bigWigCat/bigWigCat.c +++ src/utils/bigWigCat/bigWigCat.c @@ -612,30 +612,32 @@ lmCleanup(&lm); } void usage() /* Explain usage and exit. */ { errAbort( "bigWigCat v %d - merge non-overlapping bigWig files\n" "directly into bigWig format\n" "usage:\n" " bigWigCat out.bw in1.bw in2.bw ...\n" "Where in*.bw is in big wig format\n" "and out.bw is the output indexed big wig file.\n" "options:\n" " -itemsPerSlot=N - Number of data points bundled at lowest level. Default %d\n" + "\n" + "Note: must use wigToBigWig -fixedSummaries -keepAllChromosomes (perhaps in parallel cluster jobs) to create the input files.\n" , bbiCurrentVersion, itemsPerSlot ); } int main(int argc, char *argv[]) { optionInit(&argc, argv, options); /* Process command line. */ optionInit(&argc, argv, options); itemsPerSlot = optionInt("itemsPerSlot", itemsPerSlot); if (argc < 4) usage(); char * outName = argv[1]; char ** inNames = argv + 2;