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/utils/pslPosTarget/pslPosTarget.c src/utils/pslPosTarget/pslPosTarget.c index d84f5f8..b5386bd 100644 --- src/utils/pslPosTarget/pslPosTarget.c +++ src/utils/pslPosTarget/pslPosTarget.c @@ -1,52 +1,52 @@ /* pslPosTarget - flip psl strands so target is positive. */ /* Copyright (C) 2004 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 "psl.h" void usage() /* Explain usage and exit. */ { errAbort( "pslPosTarget - flip psl strands so target is positive and implicit\n" "usage:\n" " pslPosTarget inPsl outPsl\n" ); } static struct optionSpec options[] = { {NULL, 0}, }; void pslPosTarget(char *pslFileName, char *outFileName) /* pslPosTarget - flip psl strands so target is positive. */ { struct lineFile *pslLf = pslFileOpen(pslFileName); FILE *out = mustOpen(outFileName, "w"); struct psl *psl; while ((psl = pslNext(pslLf)) != NULL) { if (psl->strand[1] == '-') pslRc(psl); psl->strand[1] = '\0'; pslTabOut(psl, out); pslFree(&psl); } lineFileClose(&pslLf); fclose(out); } int main(int argc, char *argv[]) /* Process command line. */ { optionInit(&argc, argv, options); if (argc != 3) usage(); pslPosTarget(argv[1], argv[2]); return 0; }