b8aea5bf5b28fc6430dac4b3b301253188e52310 max Fri Jun 20 06:42:00 2025 -0700 added help note after intersect button, refs #34110 diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c index 7fdfc02a4dd..4ff8f7ba276 100644 --- src/hg/hgTables/mainPage.c +++ src/hg/hgTables/mainPage.c @@ -922,30 +922,32 @@ if (isPositional) { if (anyIntersection()) { hPrintf("<TR><TD><B>Intersection with %s:</B>\n", cartString(cart, hgtaIntersectTable)); cgiMakeButton(hgtaDoIntersectPage, "Edit"); hPrintf(" "); cgiMakeButton(hgtaDoClearIntersect, "Clear"); hPrintf("</TD></TR>\n"); } else if (canIntersect(database, curTable)) { hPrintf("<TR><TD><B>Intersection:</B>\n"); cgiMakeButton(hgtaDoIntersectPage, "Create"); + hPrintf("<small style='margin-left: 12px'>Need to intersect on position?</small>"); + printInfoIcon("Want to intersect two tables on their chrom-start-end fields and keep all other fields from both tables? For exampe, you selec one track with SNPs and want to overlap against enhancers and need to output both the SNP and the enhancer information, our <a href='hgIntegrator'>Data Annotation Integrator</a> is the right tool for you"); hPrintf("</TD></TR>\n"); } } /* Correlation line. */ struct trackDb *tdb = findTdbForTable(database, curTrack, curTable, ctLookupName); if (correlateTrackTableOK(tdb, curTable)) { char *table2 = cartUsualString(cart, hgtaCorrelateTable, "none"); hPrintf("<TR><TD><B>Correlation:</B>\n"); if (differentWord(table2, "none") && strlen(table2) && ! isNoGenomeDisabled(database, table2)) { struct grp *groupList = fullGroupList; struct grp *selGroup = findSelectedGroup(groupList, hgtaCorrelateGroup); struct trackDb *tdb2 = findSelectedTrack(fullTrackList, selGroup,hgtaCorrelateTrack);