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/oneShot/fakeHomozygousity/fakeHomozygousity.c src/hg/oneShot/fakeHomozygousity/fakeHomozygousity.c
index dc0c53e..cf37080 100644
--- src/hg/oneShot/fakeHomozygousity/fakeHomozygousity.c
+++ src/hg/oneShot/fakeHomozygousity/fakeHomozygousity.c
@@ -1,59 +1,59 @@
 /* fakeHomozygousity - Fake homozygousity data. */
 
 /* Copyright (C) 2013 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 "linefile.h"
 #include "hash.h"
 #include "options.h"
 #include "jksql.h"
 #include "hdb.h"
 
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "fakeHomozygousity - Fake homozygousity data\n"
   "usage:\n"
   "   fakeHomozygousity XXX\n"
   "options:\n"
   "   -xxx=XXX\n"
   );
 }
 
 static struct optionSpec options[] = {
    {NULL, 0},
 };
 
 void fakeHomozygousity(char *output)
 /* fakeHomozygousity - Fake homozygousity data. */
 {
 FILE *f = mustOpen(output, "w");
 struct sqlConnection *conn = sqlConnect("hg18");
 struct sqlResult *sr = sqlGetResult(conn, NOSQLINJ "select chrom,chromStart,chromEnd from ctgPos");
 char **row;
 while ((row = sqlNextRow(sr)) != NULL)
     {
     char *chrom = row[0];
     int start = sqlUnsigned(row[1]);
     int end = sqlUnsigned(row[2]);
     int pos;
     for (pos = start; pos <end; pos += 10000)
 	{
 	char *homozygous = (((rand()&3)==0) ? "1" : "0");
 	fprintf(f, "%s\t%d\t%s\n", chrom, pos, homozygous);
 	}
     }
 carefulClose(&f);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 optionInit(&argc, argv, options);
 if (argc != 2)
     usage();
 fakeHomozygousity(argv[1]);
 return 0;
 }