d67a231901dbbddbb17e7bb6a379feacdd87c9b4 braney Thu Mar 26 11:36:28 2020 -0700 add another special case for recognizing a *.out file (from github https://github.com/ucscGenomeBrowser/kent/issues/31#issuecomment-602864913 diff --git src/hg/makeDb/hgLoadOut/hgLoadOut.c src/hg/makeDb/hgLoadOut/hgLoadOut.c index 68aba25..84e4cfb 100644 --- src/hg/makeDb/hgLoadOut/hgLoadOut.c +++ src/hg/makeDb/hgLoadOut/hgLoadOut.c @@ -174,30 +174,31 @@ } void readOneOut(char *rmskFile) /* Read .out file rmskFile, check each line, and print OK lines to .tab. */ { struct lineFile *lf; char *line, *words[24]; int lineSize, wordCount; /* Open .out file and process header. */ lf = lineFileOpen(rmskFile, TRUE); if (!lineFileNext(lf, &line, &lineSize)) errAbort("Empty %s", lf->fileName); if (!(startsWith(" SW perc perc", line) || startsWith(" SW perc perc", line) || + startsWith(" SW perc perc", line) || startsWith(" bit perc perc", line))) { errAbort("%s doesn't seem to be a RepeatMasker .out file, first " "line seen:\n%s", lf->fileName, line); } lineFileNext(lf, &line, &lineSize); lineFileNext(lf, &line, &lineSize); /* Process line oriented records of .out file. */ while (lineFileNext(lf, &line, &lineSize)) { static struct rmskOut r; char *s; wordCount = chopLine(line, words);