38230d473a94a1376a4d813ff693ace638589939
braney
  Thu Jun 26 07:06:02 2025 -0700
added bigMethyl custom track type

diff --git src/hg/lib/customFactory.c src/hg/lib/customFactory.c
index fecc83a35e4..1ffa6a547dd 100644
--- src/hg/lib/customFactory.c
+++ src/hg/lib/customFactory.c
@@ -2920,30 +2920,38 @@
 	struct customPp *cpp, char *type,
     	struct customTrack *track)
 /* Return TRUE if looks like we're handling a longTabix track */
 {
 return (sameType(type, "longTabix"));
 }
 
 static boolean bedTabixRecognizer(struct customFactory *fac,
 	struct customPp *cpp, char *type,
     	struct customTrack *track)
 /* Return TRUE if looks like we're handling a bedTabix track */
 {
 return (sameType(type, "bedTabix"));
 }
 
+static boolean bigMethylRecognizer(struct customFactory *fac,
+	struct customPp *cpp, char *type,
+    	struct customTrack *track)
+/* Return TRUE if looks like we're handling a bigMethyl track */
+{
+return (sameType(type, "bigMethyl"));
+}
+
 static boolean bigPslRecognizer(struct customFactory *fac,
 	struct customPp *cpp, char *type,
     	struct customTrack *track)
 /* Return TRUE if looks like we're handling a bigPsl track */
 {
 return (sameType(type, "bigPsl"));
 }
 
 static boolean bigBarChartRecognizer(struct customFactory *fac,
 	struct customPp *cpp, char *type,
     	struct customTrack *track)
 /* Return TRUE if looks like we're handling a bigBarChart track */
 {
 return (sameType(type, "bigBarChart"));
 }
@@ -3139,30 +3147,39 @@
     NULL,
     "bigRmsk",
     bigRmskRecognizer,
     bigBedLoader,
     };
 
 static struct customFactory bigLollyFactory =
 /* Factory for bigLolly tracks */
     {
     NULL,
     "bigLolly",
     bigLollyRecognizer,
     bigBedLoader,
     };
 
+static struct customFactory bigMethylFactory =
+/* Factory for bigPsl tracks */
+    {
+    NULL,
+    "bigMethyl",
+    bigMethylRecognizer,
+    bigBedLoader,
+    };
+
 static struct customFactory bigPslFactory =
 /* Factory for bigPsl tracks */
     {
     NULL,
     "bigPsl",
     bigPslRecognizer,
     bigBedLoader,
     };
 
 static struct customFactory bigNarrowPeakFactory =
 /* Factory for bigNarrowPeak tracks */
     {
     NULL,
     "bigNarrowPeak",
     bigNarrowPeakRecognizer,
@@ -3703,30 +3720,31 @@
     {
     // mafFactory and vcfFactory have to be first because they don't strip comments (headers)
     slAddHead(&factoryList, &vcfFactory);
     slAddHead(&factoryList, &mafFactory);
     slAddTail(&factoryList, &wigFactory);
     slAddTail(&factoryList, &bigWigFactory);
     slAddTail(&factoryList, &chromGraphFactory);
     slAddTail(&factoryList, &pslFactory);
     slAddTail(&factoryList, &gtfFactory);
     slAddTail(&factoryList, &gffFactory);
     slAddTail(&factoryList, &pgSnpFactory);
     slAddTail(&factoryList, &bedFactory);
     slAddTail(&factoryList, &bigGenePredFactory);
     slAddTail(&factoryList, &bigNarrowPeakFactory);
     slAddTail(&factoryList, &bigPslFactory);
+    slAddTail(&factoryList, &bigMethylFactory);
     slAddTail(&factoryList, &bedTabixFactory);
     slAddTail(&factoryList, &longTabixFactory);
     slAddTail(&factoryList, &bigChainFactory);
     slAddTail(&factoryList, &bigMafFactory);
     slAddTail(&factoryList, &bigDbSnpFactory);
     slAddTail(&factoryList, &bigBedFactory);
     slAddTail(&factoryList, &bedGraphFactory);
     slAddTail(&factoryList, &microarrayFactory);
     slAddTail(&factoryList, &coloredExonFactory);
     slAddTail(&factoryList, &encodePeakFactory);
     slAddTail(&factoryList, &bedDetailFactory);
     slAddTail(&factoryList, &adjacencyFactory);
     slAddTail(&factoryList, &bamFactory);
     slAddTail(&factoryList, &vcfTabixFactory);
     slAddTail(&factoryList, &makeItemsFactory);