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("
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("Need to intersect on position?");
+ 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 Data Annotation Integrator is the right tool for you");
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);
|