struct snof *snofMustOpen(char *indexName) /* Open up index file or die. */ { struct snof *snof = snofOpen(indexName); if (snof == NULL) errAbort("Couldn't open index file %s", indexName); return snof; }
void wormOpenAliSnof() /* Set up for fast access alignments of named cDNAs. */ { if (aliSnof == NULL) { char fileName[512]; sprintf(fileName, "%sgood", wormCdnaDir()); aliSnof = snofOpen(fileName); } if (aliFile == NULL) aliFile = wormOpenGoodAli(); }