");
}
void hgGatewayCladeGenomeDb()
/* Make a row of labels and row of buttons like hgGateway, but not using tables. */
{
boolean gotClade = hGotClade();
if (gotClade)
{
topLabelSpansStart("clade");
printCladeListHtml(genome, onChangeClade());
topLabelSpansEnd();
}
topLabelSpansStart("genome");
@@ -446,30 +446,35 @@
{
#define PGSNP_OR_VCF "pgSnp or " \
"VCF"
printf("
Select Variants
\n");
/* Check for variant custom tracks. If there are none, tell the user that they should add one. */
struct slRef *varTrackList = NULL, *varGroupList = NULL;
tdbFilterGroupTrack(fullTrackList, fullGroupList, isVariantCustomTrack, NULL,
&varGroupList, &varTrackList);
if (varTrackList == NULL)
{
printf("Your session doesn't have any custom tracks or hub tracks in " PGSNP_OR_VCF
" format.\n");
hOnClickButton("return hgva.goToAddCustomTrack();",
"add pgSnp or VCF custom track");
+ if (hubConnectTableExists())
+ {
+ nbSpaces(2);
+ hOnClickButton("document.trackHubForm.submit(); return false;", "add track hub");
+ }
puts(" ");
}
else if (slCount(varTrackList) > 1)
{
printf("If you have more than one custom track or hub track in "
PGSNP_OR_VCF " format, please select the one you wish to annotate: \n");
}
printf("variants: ");
printf("