struct cnpSharpCutoff *cnpSharpCutoffLoadAllByChar(char *fileName, char chopper) /* Load all cnpSharpCutoff from a chopper separated file. * Dispose of this with cnpSharpCutoffFreeList(). */ { struct cnpSharpCutoff *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[3]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = cnpSharpCutoffLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct encodeStanfordPromotersAverage *encodeStanfordPromotersAverageLoadAllByChar(char *fileName, char chopper) /* Load all encodeStanfordPromotersAverage from a chopper separated file. * Dispose of this with encodeStanfordPromotersAverageFreeList(). */ { struct encodeStanfordPromotersAverage *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[12]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = encodeStanfordPromotersAverageLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct rhMapInfo *rhMapInfoLoadAllByChar(char *fileName, char chopper) /* Load all rhMapInfo from a chopper separated file. * Dispose of this with rhMapInfoFreeList(). */ { struct rhMapInfo *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[10]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = rhMapInfoLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct altProbe *altProbeLoadAll(char *fileName) /* Load all altProbe from a whitespace-separated file. * Dispose of this with altProbeFreeList(). */ { struct altProbe *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[15]; while (lineFileNextCharRow(lf, '\t', row, 15)) { el = altProbeLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct hapmapAlleles *hapmapAllelesLoadAllByChar(char *fileName, char chopper) /* Load all hapmapAlleles from a chopper separated file. * Dispose of this with hapmapAllelesFreeList(). */ { struct hapmapAlleles *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[12]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = hapmapAllelesLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct trackVersion *trackVersionLoadAllByChar(char *fileName, char chopper) /* Load all trackVersion from a chopper separated file. * Dispose of this with trackVersionFreeList(). */ { struct trackVersion *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[9]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = trackVersionLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct bdgpSwissProt *bdgpSwissProtLoadAllByChar(char *fileName, char chopper) /* Load all bdgpSwissProt from a chopper separated file. * Dispose of this with bdgpSwissProtFreeList(). */ { struct bdgpSwissProt *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[8]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = bdgpSwissProtLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct mrnaMisMatch *mrnaMisMatchLoadAllByChar(char *fileName, char chopper) /* Load all mrnaMisMatch from a chopper separated file. * Dispose of this with mrnaMisMatchFreeList(). */ { struct mrnaMisMatch *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[11]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = mrnaMisMatchLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct pgSiftPred *pgSiftPredLoadAllByChar(char *fileName, char chopper) /* Load all pgSiftPred from a chopper separated file. * Dispose of this with pgSiftPredFreeList(). */ { struct pgSiftPred *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[11]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = pgSiftPredLoadWithNull(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct knownToSuper *knownToSuperLoadAllByChar(char *fileName, char chopper) /* Load all knownToSuper from a chopper separated file. * Dispose of this with knownToSuperFreeList(). */ { struct knownToSuper *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[5]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = knownToSuperLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct pslWQueryID *pslWQueryIDLoadAllByChar(char *fileName, char chopper) /* Load all pslWQueryID from a chopper separated file. * Dispose of this with pslWQueryIDFreeList(). */ { struct pslWQueryID *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[22]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = pslWQueryIDLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct landmarkAttrLink *landmarkAttrLinkLoadAllByChar(char *fileName, char chopper) /* Load all landmarkAttrLink from a chopper separated file. * Dispose of this with landmarkAttrLinkFreeList(). */ { struct landmarkAttrLink *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[4]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = landmarkAttrLinkLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct lowelabArkinOperonScore *lowelabArkinOperonScoreLoadAllByChar(char *fileName, char chopper) /* Load all lowelabArkinOperonScore from a chopper separated file. * Dispose of this with lowelabArkinOperonScoreFreeList(). */ { struct lowelabArkinOperonScore *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[5]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = lowelabArkinOperonScoreLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct wgEncodeGencodePdb *wgEncodeGencodePdbLoadAllByChar(char *fileName, char chopper) /* Load all wgEncodeGencodePdb from a chopper separated file. * Dispose of this with wgEncodeGencodePdbFreeList(). */ { struct wgEncodeGencodePdb *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[2]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = wgEncodeGencodePdbLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct clusterInputAwgDnase *clusterInputAwgDnaseLoadAllByChar(char *fileName, char chopper) /* Load all clusterInputAwgDnase from a chopper separated file. * Dispose of this with clusterInputAwgDnaseFreeList(). */ { struct clusterInputAwgDnase *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[4]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = clusterInputAwgDnaseLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }
struct snp125CodingCoordless *snp125CodingCoordlessLoadAllByChar(char *fileName, char chopper) /* Load all snp125CodingCoordless from a chopper separated file. * Dispose of this with snp125CodingCoordlessFreeList(). */ { struct snp125CodingCoordless *list = NULL, *el; struct lineFile *lf = lineFileOpen(fileName, TRUE); char *row[8]; while (lineFileNextCharRow(lf, chopper, row, ArraySize(row))) { el = snp125CodingCoordlessLoad(row); slAddHead(&list, el); } lineFileClose(&lf); slReverse(&list); return list; }