a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/utils/wigAsciiToBinary/wigBedToBinary.c src/utils/wigAsciiToBinary/wigBedToBinary.c index 822384a..fab6120 100644 --- src/utils/wigAsciiToBinary/wigBedToBinary.c +++ src/utils/wigAsciiToBinary/wigBedToBinary.c @@ -1,53 +1,52 @@ /* wigBedToBinary - Convert a BED file, formatted <chrom><start><end><value> to * wiggle binary format */ -static char const rcsid[] = "$Id: wigBedToBinary.c,v 1.4 2005/08/02 16:36:07 hiram Exp $"; #include "common.h" #include "options.h" #include "wiggle.h" /* command line option specifications */ static struct optionSpec optionSpecs[] = { {"obsolete", OPTION_BOOLEAN}, {NULL, 0} }; static boolean obsolete = FALSE;/*use this program even though it is obsolete*/ void usage() /* Explain usage and exit */ { errAbort("wigBedToBinary - convert BED Wiggle data to binary file\n\n" "usage: wigBedToBinary [-obsolete] bedFile wigFile wibFile\n" "\toptions:\n" "\t-obsolete - Use this program even though it is obsolete."); } void wigBedToBinary(char *bedFile, char *wigFile, char *wibFile) /* Convert BED file to wiggle binary representation */ { double upper, lower; wigAsciiToBinary(bedFile, wigFile, wibFile, &upper, &lower, NULL); fprintf(stderr, "Converted %s, upper limit %.2f, lower limit %.2f\n", bedFile, upper, lower); } int main( int argc, char *argv[] ) /* Process command line */ { optionInit(&argc, argv, optionSpecs); obsolete = optionExists("obsolete"); if (! obsolete) { verbose(1,"ERROR: This loader is obsolete. Please use: 'wigEncode'\n"); verbose(1,"\t(use -obsolete flag to run this encoder despite it being obsolete)\n"); errAbort("ERROR: wigBedToBinary is obsolete, use 'wigEncode' instead"); } if (argc < 4) usage(); wigBedToBinary(argv[1], argv[2], argv[3]); exit(0); }