15973bdabacf5ddf5dd9289d05e83a7cd4080dbb braney Tue Nov 9 09:12:48 2021 -0800 support for bigRmsk from Robert Hubley robert.hubley@isbscience.org diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c index 39d4e2e..48d9b41 100644 --- src/hg/lib/trackDbCustom.c +++ src/hg/lib/trackDbCustom.c @@ -230,30 +230,31 @@ /* Return TRUE if we can pack this type. */ { char *t = cloneString(type); char *s = firstWordInLine(t); boolean canPack = (sameString("psl", s) || sameString("chain", s) || sameString("bed", s) || sameString("genePred", s) || sameString("makeItems", s) || sameString("expRatio", s) || sameString("wigMaf", s) || sameString("factorSource", s) || sameString("bed5FloatScore", s) || sameString("bed6FloatScore", s) || sameString("altGraphX", s) || sameString("bam", s) || sameString("bedDetail", s) || sameString("bed8Attrs", s) || sameString("gvf", s) || sameString("vcfTabix", s) || sameString("vcf", s) || sameString("pgSnp", s) || sameString("narrowPeak", s) || sameString("broadPeak", s) || sameString("bigLolly", s) || + sameString("bigRmsk", s) || sameString("peptideMapping", s) || sameString("barChart", s) || sameString("interact", s) || (!startsWithWord("bigWig", s) && startsWith("big", s)) ); freeMem(t); return canPack; } void trackDbPolish(struct trackDb *bt) /* Fill in missing values with defaults. */ { if (bt->shortLabel == NULL) bt->shortLabel = cloneString(bt->track); @@ -699,30 +700,32 @@ else if(startsWith("wig", type) || startsWith("mathWig", type) || startsWith("bigWig", type) || startsWith("bedGraph", type) || startsWith("bamWig", type)) cType = cfgWig; else if(startsWith("bigGenePred", type)) cType = cfgGenePred; else if(startsWith("chain",type) || startsWith("bigChain",type)) cType = cfgChain; else if (startsWith("psl", type) || startsWith("bigPsl", type)) cType = cfgPsl; else if (sameWord("barChart", type) || sameWord("bigBarChart", type)) cType = cfgBarChart; else if (sameWord("interact", type) || sameWord("bigInteract", type)) cType = cfgInteract; else if (startsWith("bigLolly", type)) cType = cfgLollipop; +else if (startsWith("bigRmsk", type)) + cType = cfgBigRmsk; else if (sameWord("bigDbSnp", type)) cType = cfgBigDbSnp; else if(startsWith("longTabix", type)) cType = cfgLong; else if (startsWith("netAlign", type) || startsWith("net", tdb->track)) // SPECIAL CASE from hgTrackUi which might not be needed cType = cfgNetAlign; else if(sameWord("bed5FloatScore", type) || sameWord("bed5FloatScoreWithFdr",type)) { if (bedScoreHasCfgUi(tdb)) cType = cfgBedScore; } else if (encodePeakHasCfgUi(tdb)) cType = cfgPeak;