c109097eafef68d7750e9a802acaa9a98d1e202e cline Wed Jun 1 16:48:38 2011 -0700 Convert the tag to uppercase, for consistency with Tim's new standard diff --git src/hg/encode/antibodyWikiParser.py src/hg/encode/antibodyWikiParser.py index 655238b..4f60d38 100755 --- src/hg/encode/antibodyWikiParser.py +++ src/hg/encode/antibodyWikiParser.py @@ -176,31 +176,31 @@ if re.search("(Example)", getContents(cells[0])): return((None, False)) else: stanza = RaStanza() term = getContents(cells[0]) (vendorName, vendorId, orderUrl) = processSource(cells[3]) # # The naming standard (as of May 3, 2011) is to name antibodies as # <target>_(<vendorId>), such as TAF7_(SC-101167). In the "term" cell, # the antibody might already have that name, or (more likely) it might be # named by just the target. If the vendor ID isn't in the name yet, add it. if re.search(vendorId, term): stanza["term"] = term else: stanza["term"] = term + "_(" + vendorId + ")" - stanza["tag"] = re.sub("[-_\(\)]", "", stanza["term"]) + stanza["tag"] = re.sub("[-_\(\)]", "", stanza["term"]).upper() stanza["type"] = "Antibody" stanza["antibodyDescription"] = getContents(cells[1]) stanza["target"] = re.split("_", stanza["term"])[0] stanza["targetDescription"] = getContents(cells[2]) stanza["vendorName"] = vendorName stanza["vendorId"] = vendorId stanza["orderUrl"] = orderUrl stanza["lab"] = getContents(cells[4]) stanza["lots"] = getContents(cells[5]) (stanza["targetId"], stanza["targetUrl"]) = processFactorId(cells[6]) stanza["validation"] = processValidation(cells[7], species, stanza["term"], stanza["lab"], downloadsDirectory, username, password, wikiBaseUrl) #