d11695558ca61844bc4fcccee30701d1e535c90b max Mon Aug 12 08:36:52 2024 -0700 promoting the data integrator from hgTables, refs #34268 diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c index 00e6074..969ecfe 100644 --- src/hg/hgTables/mainPage.c +++ src/hg/hgTables/mainPage.c @@ -886,30 +886,34 @@ 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("<P style='margin-top:3px; margin-bottom:0px; padding:0px'>"); + hPrintf("This intersection only outputs fields from the table selected under \"Select Dataset\" above.<BR>"); + hPrintf("If you want to intersect two tracks and output fields from both, e.g. to show with Chip-seq peak overlaps which enhancer, then use our <a href='hgIntegrator'>Data Integrator</a>."); + hPrintf("</P>"); 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);