e323d595c241d03570d380d8c60de60e99c1c4ec braney Fri Mar 21 12:36:21 2025 -0700 add support for bigDbSnp to quicklift diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c index 9c79295079b..a7cbf5366c3 100644 --- src/hg/lib/trackHub.c +++ src/hg/lib/trackHub.c @@ -1607,30 +1607,32 @@ // add a note that the name based handler shouldn't be used on this track // add a note that this is a quickLifted track so the browser will accept tracks that aren't big* dy = dyStringNew(200); dyStringPrintf(dy, "track %s\nquickLifted on\navoidHandler on\n", trackHubSkipHubName(tdb->track)); dumpTdbAndChildren(dy, tdb); return dy; } static boolean validateOneTdb(char *db, struct trackDb *tdb) { if (!( startsWith("bigBed", tdb->type) || \ startsWith("bigWig", tdb->type) || \ + startsWith("bigDbSnp", tdb->type) || \ + startsWith("bigGenePred", tdb->type) || \ startsWith("bed ", tdb->type))) { return FALSE; } // make sure we have a bigDataUrl if (startsWith("bigBed", tdb->type) || \ startsWith("bigWig", tdb->type)) { char *fileName = cloneString(trackDbSetting(tdb, "bigDataUrl")); if (fileName == NULL) { struct sqlConnection *conn = hAllocConnTrack(db, tdb); fileName = bbiNameFromSettingOrTable(tdb, conn, tdb->table);