5576f303e5975afc8c096289bbe58231bc0afc7d max Fri Jun 2 11:25:35 2017 -0700 fixing biocarta links, refs #13634 diff --git src/hg/hgGeneGraph/hgGeneGraph src/hg/hgGeneGraph/hgGeneGraph index a796fb2..598f51e 100755 --- src/hg/hgGeneGraph/hgGeneGraph +++ src/hg/hgGeneGraph/hgGeneGraph @@ -94,30 +94,31 @@ GGDB="hgFixed" # ==== GLOBALS ===== # CGI parameters as a FieldStorage object # args = None # external DB information dbData = { "kegg" : ("KEGG", "http://www.kegg.jp/kegg-bin/show_pathway?%s"), "wikipathways" : ("WikiPathways", "http://www.wikipathways.org/index.php/Pathway:%s"), "iref" : ("Iref", "http://wodaklab.org/iRefWeb/interaction/show/%s"), #"pid" : ("NCI Pathway Database", "http://pid.nci.nih.gov/search/InteractionPage?atomid=%s"), #PID server is down, linking to NDex now, adapted the IDs, see ggPidToTables "pid" : ("NCI Pathway Database", "http://www.ndexbio.org/#/search?searchType=All&searchString=labels%%253A%s"), +"biocarta" : ("BioCarta", "https://cgap.nci.nih.gov/Pathways/BioCarta/%s"), "reactome" : ("Reactome", "http://www.reactome.org/content/detail/%s"), "go" : ("Gene Ontology Complexes", "http://www.ebi.ac.uk/QuickGO/GTerm?id=%s#info=2"), "fastforward" : ("FastForward", "http://fastforward.sys-bio.net/popup.php?name_target=%s"), "argdb" : ("ARGDB", "http://argdb.fudan.edu.cn/geneshow_id.php?gene_id=%s"), "corum" : ("MIPS CORUM", "http://mips.helmholtz-muenchen.de/genre/proj/corum/complexdetails.html?id=%s"), "string" : ("STRING", "http://string-db.org/newstring_cgi/show_network_section.pl?multiple_input_items=%s&multi_input=1&multiple_input_type=multi_identifier&limit=0&input_page_type=multiple_identifiers&have_user_input=2&species_text=Homo%%20sapiens&input_query_species=auto_detect&flash=15&required_score=400") } # mime types to send in http header for other downloads mimeTypes = { "svg" : "image/svg+xml", "pdf" : "application/pdf", "json" : "application/json", "sif" : "application/octet-stream" } @@ -1482,30 +1483,31 @@ relType, relSubtype, sourceDb, sourceId, sourceDesc, docIds = row if eventId.startswith("ppi_"): isPpi = True else: isPpi = False docSet = set(docIds.split("|")) if eventId.startswith("ppi_iref"): dbName, dbUrlPat = dbData["iref"] dbName = "IRef %s" % sourceDb.capitalize() else: dbName, dbUrlPat = dbData[sourceDb] + url = dbUrlPat % sourceId print "
  • " if sourceDesc=="": if isPpi: sourceDesc = "Interaction" else: sourceDesc = "Reaction" print '%s %s: ' % (dbName, url, sourceDesc) print entToDesc(causeType, causeName, causeGenes) if themeGenes!="": if isPpi: