8d44c7dbaf65ec740081b21da51a0d7739c35855 braney Wed Nov 4 14:07:09 2015 -0800 use ';' to separate MAF lines in bigMaf instead of '\001' #15935 diff --git src/hg/lib/hgMaf.c src/hg/lib/hgMaf.c index 69ce12b..87ddce7 100644 --- src/hg/lib/hgMaf.c +++ src/hg/lib/hgMaf.c @@ -442,25 +442,25 @@ for (wig = wiggles; wig != NULL && differentString(wig->table,table); wig = wig->next) {} return wig; } struct mafAli *bigMafLoadInRegion( struct bbiFile *bbi, char *chrom, int start, int end) /* Read in MAF blocks from bigBed. */ { struct lm *lm = lmInit(0); struct bigBedInterval *bb, *bbList = bigBedIntervalQuery(bbi, chrom, start, end, 0, lm); struct mafAli *mafList = NULL; for (bb = bbList; bb != NULL; bb = bb->next) { // the MAF block in the record as \001 instead of newlines - char *mafText = replaceChars(bb->rest, "\001","\n"); + char *mafText = replaceChars(bb->rest, ";","\n"); struct mafFile mf; mf.lf = lineFileOnString(NULL, TRUE, mafText); struct mafAli *maf = mafNext(&mf); slAddHead(&mafList, maf); } return mafList; }