f97456f7cdd92737b1c2ac14a0147b0c6a30c9e1 angie Mon Jul 12 16:30:53 2021 -0700 Update single-subtree button label to indicate it's a subsampled global tree. diff --git src/hg/hgPhyloPlace/phyloPlace.c src/hg/hgPhyloPlace/phyloPlace.c index 101496c..5ad13be 100644 --- src/hg/hgPhyloPlace/phyloPlace.c +++ src/hg/hgPhyloPlace/phyloPlace.c @@ -1202,33 +1202,34 @@ { char buttonId[256]; safef(buttonId, sizeof buttonId, "%s%d", idBase, ix+1); char buttonLabel[256]; safef(buttonLabel, sizeof buttonLabel, "view subtree %d in Nextstrain", ix+1); struct dyString *dyMo = dyStringCreate("view subtree %d with %d of your sequences and %d other " "sequences from the phylogenetic tree for context", ix+1, userSampleCount, subtreeSize - userSampleCount); makeNextstrainButton(buttonId, jsonTns[ix], buttonLabel, dyMo->string); dyStringFree(&dyMo); } static void makeNsSingleTreeButton(struct tempName *tn) /* Make a button to view single subtree (with all uploaded samples) in Nextstrain. */ { -makeNextstrainButton("viewNextstrainSingleSubtree", tn, "view single subtree in Nextstrain", +makeNextstrainButton("viewNextstrainSingleSubtree", tn, + "view downsampled global tree in Nextstrain", "view one subtree that includes all of your uploaded sequences plus " - SINGLE_SUBTREE_SIZE" randomly selected sequences from the phylogenetic " + SINGLE_SUBTREE_SIZE" randomly selected sequences from the global phylogenetic " "tree for context"); } static void makeButtonRow(struct tempName *singleSubtreeJsonTn, struct tempName *jsonTns[], struct subtreeInfo *subtreeInfoList, int subtreeSize, boolean isFasta, boolean offerCustomTrack) /* Russ's suggestion: row of buttons at the top to view results in GB, Nextstrain, Nextclade. */ { puts("<p>"); if (offerCustomTrack) cgiMakeButtonWithMsg("submit", "view in Genome Browser", "view your uploaded sequences, their phylogenetic relationship and their " "mutations along with many other datasets available in the Genome Browser"); if (nextstrainHost()) {