64f8399830804eedfa3bcc93e3460a40d2562654 chinhli Wed Oct 10 10:03:52 2012 -0700 Fixed bug #9299 Broken speTri2 ensGene link to ensembl.org. diff --git src/hg/lib/ensFace.c src/hg/lib/ensFace.c index d6e8d05..6809869 100644 --- src/hg/lib/ensFace.c +++ src/hg/lib/ensFace.c @@ -36,30 +36,37 @@ * scientific name */ return "Pongo_pygmaeus"; } if (sameWord(scientificName, "Canis lupus familiaris")) { /* special case for Dog, different form of the same * scientific name */ return "Canis_familiaris"; } if (sameWord(scientificName, "Gorilla gorilla gorilla")) { /* special case for Dog, different form of the same * scientific name */ return "Gorilla_gorilla"; } + if (sameWord(scientificName, "Spermophilus tridecemlineatus")) + { + /* special case for squirrel, whose scientific name has been + * changed from Spermophilusv to Ictidomys at ensembl */ + return "Ictidomys_tridecemlineatus"; + } + /* replace spaces with underscores, assume max two spaces * (species and sub-species). */ res = cloneString(scientificName); if ((p = index(res, ' ')) != NULL) *p = '_'; if ((p = rindex(res, ' ')) != NULL) *p = '_'; return res; } static char *ucscToEnsembl(char *database, char *chrom) /* if table UCSC_TO_ENSEMBL exists in the given database, return the Ensembl name for this chrom */ { static char ensemblName[256];