fe48c5bed92448a3e0a599f2fe3123294fc0c7af markd Wed Feb 3 17:19:09 2021 -0800 fixed initialization problem that prefected isPcr to work on dynamic servers diff --git src/jkOwnLib/genoFind.c src/jkOwnLib/genoFind.c index 56b50b3..a4e0e12 100644 --- src/jkOwnLib/genoFind.c +++ src/jkOwnLib/genoFind.c @@ -2524,30 +2524,31 @@ char *rPrimer, int rPrimerSize, int minDistance, int maxDistance) /* Find possible PCR hits. The fPrimer and rPrimer are on the same strand. */ { struct gfClump *clumpList = NULL; int tileSize = gf->tileSize; int fTile; int fTileCount = fPrimerSize - tileSize; int *rTiles, rTile; int rTileCount = rPrimerSize - tileSize; int fTileIx,rTileIx,fPosIx,rPosIx; bits32 *fPosList, fPos, *rPosList, rPos; int fPosListSize, rPosListSize; struct hash *targetHash = newHash(0); /* Build up array of all tiles in reverse primer. */ +initNtLookup(); AllocArray(rTiles, rTileCount); for (rTileIx = 0; rTileIx<rTileCount; ++rTileIx) { rTiles[rTileIx] = gfDnaTile(rPrimer + rTileIx, tileSize); if (rTiles[rTileIx] == -1) errAbort("Bad char in reverse primer sequence: %s", rPrimer); } /* Loop through all tiles in forward primer. */ for (fTileIx=0; fTileIx<fTileCount; ++fTileIx) { fTile = gfDnaTile(fPrimer + fTileIx, tileSize); if (fTile >= 0) { fPosListSize = gf->listSizes[fTile];