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("
Intersection with %s:\n",
cartString(cart, hgtaIntersectTable));
cgiMakeButton(hgtaDoIntersectPage, "Edit");
hPrintf(" ");
cgiMakeButton(hgtaDoClearIntersect, "Clear");
hPrintf(" |
\n");
}
else if (canIntersect(database, curTable))
{
hPrintf("Intersection:\n");
cgiMakeButton(hgtaDoIntersectPage, "Create");
+ hPrintf(" ");
+ hPrintf("This intersection only outputs fields from the table selected under \"Select Dataset\" above. ");
+ 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 Data Integrator.");
+ hPrintf(" ");
hPrintf(" |
\n");
}
}
/* Correlation line. */
struct trackDb *tdb = findTdbForTable(database, curTrack, curTable, ctLookupName);
if (correlateTrackTableOK(tdb, curTable))
{
char *table2 = cartUsualString(cart, hgtaCorrelateTable, "none");
hPrintf("Correlation:\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);
|