4898794edd81be5285ea6e544acbedeaeb31bf78
max
  Tue Nov 23 08:10:57 2021 -0800
Fixing pointers to README file for license in all source code files. refs #27614

diff --git src/hg/snp/snpLoad/snpGetSeqDup.c src/hg/snp/snpLoad/snpGetSeqDup.c
index 3548694..62d6ee3 100644
--- src/hg/snp/snpLoad/snpGetSeqDup.c
+++ src/hg/snp/snpLoad/snpGetSeqDup.c
@@ -1,88 +1,88 @@
 /* snpGetSeqDup - log duplicates in fasta files. */
 
 /* Copyright (C) 2011 The Regents of the University of California 
- * See README in this or parent directory for licensing information. */
+ * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 
 #include "common.h"
 
 #include "dystring.h"
 #include "hdb.h"
 #include "linefile.h"
 
 
 static struct hash *snpHash = NULL;
 static struct hash *uniqHash = NULL;
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "snpGetSeqDup - log duplicates in fasta files.\n"
   "usage:\n"
   "  snpGetSeqDup inputFilename \n");
 }
 
 
 void readInput(char *inputFileName)
 {
 struct lineFile *lf;
 char *line;
 char *row[2];
 struct hashEl *hel = NULL;
 
 lf = lineFileOpen(inputFileName, TRUE);
 
 while (lineFileNext(lf, &line, NULL))
     {
     chopString(line, "\t", row, ArraySize(row));
     hel = hashLookup(uniqHash, row[0]);
     if (!hel)
         hashAdd(uniqHash, cloneString(row[0]), NULL);
     hashAdd(snpHash, cloneString(row[0]), cloneString(row[1]));
     }
 lineFileClose(&lf);
 }
 
 
 void doLog()
 {
 FILE *logFileHandle = mustOpen("snpGetSeqDup.log", "w");
 struct hashCookie cookie = hashFirst(uniqHash);
 char *rsId = NULL;
 int count = 0;
 struct hashEl *hel = NULL;
 char *fileName = NULL;
 struct dyString *dy = newDyString(1024);
 
 while ((rsId = hashNextName(&cookie)) != NULL)
     {
     count = 0;
     for (hel = hashLookup(snpHash, rsId); hel != NULL; hel = hashLookupNext(hel))
 	count++;
     if (count == 1) continue;
     for (hel = hashLookup(snpHash, rsId); hel != NULL; hel = hashLookupNext(hel))
         {
 	fileName = (char *)hel->val;
 	dyStringAppend(dy, fileName);
 	dyStringAppend(dy, " ");
 	}
     fprintf(logFileHandle, "%s\t%s\n", rsId, dy->string);
     dyStringClear(dy);
     }
 
 carefulClose(&logFileHandle);
 }
 
 
 int main(int argc, char *argv[])
 {
 if (argc != 2)
     usage();
 
 snpHash = newHash(16);
 uniqHash = newHash(16);
 readInput(argv[1]);
 doLog();
 
 return 0;
 }