fb3b58c109c222060b0cea25d9559f34325e08e8
hiram
  Tue Nov 27 15:38:26 2012 -0800
fixup mouse cytoBand searching redmine 8536
diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c
index bf56cb5..2e8b52e 100644
--- src/hg/lib/hgFind.c
+++ src/hg/lib/hgFind.c
@@ -1038,31 +1038,33 @@
 {
 char *fullChromName, *shortChromName;
 int len;
 int dotCount = 0;
 char *s, c;
 
 /* First make sure spec is in format to be a band name. */
 if ((fullChromName = startsWithShortHumanChromName(db, spec)) == NULL)
     return FALSE;
 shortChromName = skipChr(fullChromName);
 len = strlen(shortChromName);
 spec += len;
 c = spec[0];
 if (c != 'p' && c != 'q')
     return FALSE;
-if (!isdigit(spec[1]))
+/* the mouse bands can have a letter here, A-H, searchType cytoBand
+ * doesn't seem to use the termRegx */
+if (!(isdigit(spec[1]) || (1 == countChars("ABCDEFGH", spec[1]))))
     return FALSE;
 
 /* Make sure rest is digits with maybe one '.' */
 s = spec+2;
 while ((c = *s++) != 0)
     {
     if (c == '.')
         ++dotCount;
     else if (!isdigit(c))
         return FALSE;
     }
 if (dotCount > 1)
     return FALSE;
 *retChromName = fullChromName;
 *retBandName = spec;