a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/hg/affyGnf/affyUclaMergePslData.c src/hg/affyGnf/affyUclaMergePslData.c index 90ef937..b28c65a 100644 --- src/hg/affyGnf/affyUclaMergePslData.c +++ src/hg/affyGnf/affyUclaMergePslData.c @@ -1,25 +1,24 @@ /** affyUclaMergePslData.c - Program to merge data from Allen at UCLA and the alignments of the HG-U133B chip from Affymetrix. */ #include "common.h" #include "psl.h" #include "hash.h" #include "linefile.h" #include "bed.h" #include "options.h" -static char const rcsid[] = "$Id: affyUclaMergePslData.c,v 1.4 2004/02/17 01:36:01 sugnet Exp $"; static boolean doHappyDots; /* output activity dots? */ char *prefix = ":"; /* Prefext to our affymetrix names. */ static struct optionSpec optionSpecs[] = /* Our acceptable options to be called with. */ { {"help", OPTION_BOOLEAN}, {"pslFile", OPTION_STRING}, {"affyFile", OPTION_STRING}, {"bedOut", OPTION_STRING}, {"expRecordOut", OPTION_STRING}, {"expFile", OPTION_STRING}, {"toDiffFile", OPTION_STRING}, {NULL, 0} }; @@ -28,41 +27,32 @@ /* Description of our options for usage summary. */ { "Display this message.", "File containing psl alignments.", "File from Allen at UCLA", "File to output beds to.", "File to output experiment descriptions to.", "File with list of experiment names, one per line.", "Output resulting beds in format close to Allen's file (for diff sanity check)" }; void usage() /** Print usage and quit. */ { int i=0; -char *version = cloneString((char*)rcsid); -char *key = "affyUclaMergePslData.c,v "; -char *tmp = strstr(version, key); -if(tmp != NULL) - version = tmp + strlen(key); -tmp = strrchr(version, 'E'); -if(tmp != NULL) - (*tmp) = '\0'; warn("affyUclaMergePslData - Merge data from Allen at UCLA and alignments\n" - " of HG-U133B Consensus sequences in pslFile.\n" - " (version: %s)", version ); + " of HG-U133B Consensus sequences in pslFile.\n"); for(i=0; i<ArraySize(optionSpecs) -1; i++) fprintf(stderr, " -%s -- %s\n", optionSpecs[i].name, optionDescripts[i]); errAbort("\nusage:\n" " affyUclaMergePslData " "affyUclaMergePslData -pslFile=hg15.affyU133AB_all.lifted.pslReps.psl \\\n" " -affyFile=/projects/compbio/data/microarray/affyUcla/data/030602_ucla_normal_human_tissue_snapshot.txt \\\n" " -bedOut=hg15.affyUcla.bed -expRecordOut=hg15.affyUcla.expRecords -expFile=expNames.txt -toDiffFile=toDiff.txt\\\n"); } struct hash *hashPsls(char *pslFileName) { struct psl *pslList = NULL, *psl = NULL, *pslSubList = NULL, *pslNext = NULL; struct hash *pslHash = newHash(15); char *last = NULL;