2ddc6960dfafe56039fe6ef3797daa46187dc1f4 kate Fri Nov 1 17:47:26 2013 -0700 Add link to Motif panel for help page. refs #9092 diff --git src/hg/hgc/regMotif.c src/hg/hgc/regMotif.c index f409335..ef31276 100644 --- src/hg/hgc/regMotif.c +++ src/hg/hgc/regMotif.c @@ -102,39 +102,43 @@ } void motifMultipleHitsSection(struct dnaSeq **seqs, int count, struct dnaMotif *motif) /* Print out section about motif, possibly with mutliple occurrences. */ { // Detect inconsistent motif/pwm tables and suppress confusing display if (motif != NULL) { if (motif->columnCount != seqs[0]->size) { warn("Motif seq length doesn't match PWM\n"); return; } } + +#define MOTIF_HELP_PAGE "../goldenPath/help/hgRegMotifHelp.html" webNewSection("Motif:"); printf("
\n");
 printf("\n");
 if (motif != NULL)
     {
     struct tempName pngTn;
     dnaMotifMakeProbabalistic(motif);
     makeTempName(&pngTn, "logo", ".png");
     dnaMotifToLogoPng(motif, 47, 140, NULL, "../trash", pngTn.forCgi);
+    printf("", 
+        motif->columnCount, MOTIF_HELP_PAGE);
     printf("\n");
     }
 if (count > 0)
     {
     int i;
     for (i = 0; i < count; i++)
         {
         struct dnaSeq *seq = seqs[i];
         printf("");
         touppers(seq->dna);
         printDnaCells(seq->dna, seq->size);
         if (count == 1)
             printf("\n");
Motif display help
", motif->columnCount); printf("", pngTn.forHtml); printf("
this occurrence