099d3177fa74e95362b5adc1a3d6691e9b0bc591 angie Thu Mar 14 11:48:51 2013 -0700 Trivial addition of support for HGVS position range nomenclature,which has "_" between start and end (instead of "-"). refs #10392 diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c index bf26778..17b93e6 100644 --- src/hg/lib/hgFind.c +++ src/hg/lib/hgFind.c @@ -2849,31 +2849,31 @@ { found |= doQuery(db, hfs, xrefPtr->name, (char *)xrefPtr->val, hgp, relativeFlag, relStart, relEnd, multiTerm); } slPairFreeValsAndList(&xrefList); return(found); } /* Support these formats for range specifiers. Note the ()'s around chrom, * start and end portions for substring retrieval: */ char *canonicalRangeExp = "^([[:alnum:]._\\-]+)" "[[:space:]]*:[[:space:]]*" "([-0-9,]+)" - "[[:space:]]*-[[:space:]]*" + "[[:space:]]*[-_][[:space:]]*" "([0-9,]+)$"; char *gbrowserRangeExp = "^([[:alnum:]._\\-]+)" "[[:space:]]*:[[:space:]]*" "([0-9,]+)" "[[:space:]]*\\.\\.[[:space:]]*" "([0-9,]+)$"; char *lengthRangeExp = "^([[:alnum:]._\\-]+)" "[[:space:]]*:[[:space:]]*" "([0-9,]+)" //"[[:space:]]*\\^[[:space:]]*" "[[:space:]]*\\+[[:space:]]*" "([0-9,]+)$"; char *bedRangeExp =