00ae0ed0644312e30a2227d71a92e6b1ca9efc8c angie Mon Jan 9 10:49:20 2023 -0800 Add support for RSV-A and RSV-B viruses. diff --git src/hg/hgPhyloPlace/hgPhyloPlace.c src/hg/hgPhyloPlace/hgPhyloPlace.c index d78765c..f68e460 100644 --- src/hg/hgPhyloPlace/hgPhyloPlace.c +++ src/hg/hgPhyloPlace/hgPhyloPlace.c @@ -74,30 +74,34 @@ chopByWhite(binInfo, words, ArraySize(words)); mem = (char *)sqlUnsignedLong(words[0]); size = sqlUnsignedLong(words[1]); lf = lineFileDecompressMem(TRUE, mem, size); } return lf; } static char *labelForDb(char *db) /* The assembly hub name is just the accession; make a special label for hMPXV. Otherwise just * return hGenome(db). */ { char *label = NULL; if (sameString(trackHubSkipHubName(db), "GCF_014621545.1")) label = cloneString("hMPXV"); +else if (sameString(trackHubSkipHubName(db), "GCF_002815475.1")) + label = cloneString("RSV-A"); +else if (sameString(trackHubSkipHubName(db), "GCF_000855545.1")) + label = cloneString("RSV-B"); else label = hGenome(db); return label; } static void selectDb(char **pDb, char **pLabel) /* Search for assembly config.ra files in hgPhyloPlaceData. If there is more than one * supported assembly, then make a menu / select input for supported assemblies; * reload the page on change. */ { struct slName *supportedDbs = phyloPlaceDbList(cart); if (supportedDbs == NULL) errAbort("Sorry, this server is not configured to perform phylogenetic placement."); if (!slNameInList(supportedDbs, *pDb)) {