a44421a79fb36cc2036fe116b97ea3bc9590cd0c
braney
  Fri Dec 2 09:34:39 2011 -0800
removed rcsid (#295)
diff --git src/hg/qacToQa/qacToQa.c src/hg/qacToQa/qacToQa.c
index 258d3ab..0439f8c 100644
--- src/hg/qacToQa/qacToQa.c
+++ src/hg/qacToQa/qacToQa.c
@@ -1,64 +1,63 @@
 /* qaToQa - convert from compressed to uncompressed 
  * quality score format. */
 #include "common.h"
 #include "linefile.h"
 #include "qaSeq.h"
 #include "options.h"
 #include "verbose.h"
 
-static char const rcsid[] = "$Id: qacToQa.c,v 1.5 2006/04/27 00:49:51 kate Exp $";
 
 static struct optionSpec optionSpecs[] = {
         {"name", OPTION_STRING},
         {NULL, 0}
 };
 
 static char *name = NULL;
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
 "qacToQa - convert from compressed to uncompressed\n"
 "quality score format.\n"
 "usage:\n"
 "   qacToQa in.qac out.qa\n"
    "\t-name=name  restrict output to just this sequence name\n"
     );
 
 }
 
 void qacToQa(char *inName, char *outName)
 /* qacToQa - convert from compressed to uncompressed 
  * quality score format. */
 {
 boolean isSwapped;
 FILE *in = qacOpenVerify(inName, &isSwapped);
 FILE *out = mustOpen(outName, "wb");
 struct qaSeq *qa;
 int size = 0;
 
 while ((qa = qacReadNext(in, isSwapped)) != NULL)
     {
     if (name != NULL)
         if (!sameString(qa->name, name))
             continue;
     size += qa->size;
     qaWriteNext(out, qa);
     qaSeqFree(&qa);
     }
 verbose(3, "qa total size: %d\n", size);
 fclose(in);
 fclose(out);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 optionInit(&argc, argv, optionSpecs);   
 if (argc < 2)
     usage();
 name = optionVal("name", NULL);
 qacToQa(argv[1], argv[2]);
 return 0;
 }