Repository navigation
Mapping Benchmark
Re-run 30 Nov 2026. Two going-in hypotheses were treated as hypotheses, not facts: "BridgeDb is the best option" and "UniProt was the most accurate" (the 18 Nov result, which used a Python re-implementation of the legacy calls, not the Java tool).
Status. The cached-data methods (UniProt 2026_04 file, BridgeDb, Ensembl 116) ran on 30 Nov and are below. The three service-based methods (legacy Java on master, legacy Java on this branch,
translate.py) need the UniProt ID-mapping service, which stopped processing jobs during the run (see Docker Reproduction). They run automatically when it recovers, and this page will be updated.
Same inputs, same target for every method. The target is Entrez Gene, the ID type the GMT files and the mouse/rat conversion use.
| Source | Type | Input | Unique IDs | Gene sets scored |
|---|---|---|---|---|
| GO (current) | UniProt accessions | every accession in the six createGo GMTs from the 30 Nov Docker run (EBI GOA 2026-11-04) |
19,682 | 21,182 (no-IEA BP+MF+CC) |
| KEGG (static, July 2011) | HGNC symbols as of 2011 | staticSrcFiles/KEGG/July2011_Human_KEGG_symbol.gmt |
5,963 | 236 |
Each method maps each ID on its own. The input IDs go to the Java tool as a "probe" GMT with one gene set per ID, so each output row is exactly that ID's mapping.
| Method | What it is | Version pinned | UniProt → Entrez | symbol → Entrez |
|---|---|---|---|---|
legacy_master |
GenesetTools.jar translate built from master (production) |
master 11c38c7, UniProt REST |
yes | yes |
legacy_branch |
same tool from this branch (taxId restriction, batching and timeout fixes) | branch, UniProt REST | yes | yes |
branch_translate |
pipeline/scripts/translate.py (UniProt REST + HGNC previous-symbol rescue, no silent alias guesses, re-asks for omitted IDs) |
UniProt release in its manifest, HGNC file SHA-256 | yes | yes |
uniprot_file |
UniProt's own HUMAN_9606_idmapping.dat (cached real data, the same release the REST service serves) |
UniProt 2026_04 (file dated 2026-11-04) | yes | primary gene names only |
bridgedb |
BridgeDb web service, POST /Human/xrefsBatch/{S,H}
|
Ensembl 111 data, BridgeDb build 2024-10-22 | yes (S) |
yes (H) |
ensembl116 |
Ensembl 116 release files (uniprot.tsv + entrez.tsv) |
Ensembl 116 | yes | not supported (these files have no gene names; BioMart was not used) |
Ground truth.
- The pinned HGNC complete set (file dated 2026-11-23, SHA-256 in
inputs_*.json). - UniProt input: the Entrez IDs of approved HGNC genes that list that accession.
-
Symbol input: classified first:
- approved symbol: its Entrez ID;
- previous symbol of exactly one gene ("renamed"): that gene;
- alias or previous symbol of 2+ genes ("ambiguous"): correct means not picking one;
- withdrawn: correct means not mapping.
- IDs HGNC can't place are counted as no ground truth and never scored.
- Coverage and correctness are separate columns.
Code:
mapping_eval.py-
run_mapping_eval.sh(runs everything through Docker) aim2_figures.py
The per-ID table (calls_<source>.tsv.gz, one row per input ID × method) has these columns:
-
source,species,input_id,input_namespace,target_namespace; -
method,method_version,candidates(all target IDs returned),decision; -
failure_reason:ambiguous_alias,withdrawn_symbol,renamed_symbol_not_resolved,absent_from_method_reference,uniprot_result_omitted_in_this_call(another UniProt-based call returned it),service_errororunsupported_namespace; -
hgnc_input_class,hgnc_truth,correctness.
| Question | Answer | Source |
|---|---|---|
| Organisms | Human, Mouse and Rat (plus about 20 others) | GET webservice.bridgedb.org/contents |
| Data version |
Ensembl 111 for all three species, build date 2024-10-22. The newest downloadable Derby files (Hs_/Mm_/Rn_Derby_Ensembl_111.bridge, Jan 2025, Zenodo DOI 10.5281/zenodo.14779056) are also Ensembl 111 |
GET /Human/properties; data.bridgedb.org/gene_database |
| Codes used here |
S UniProt (TrEMBL; Swiss-Prot is Sp), H HGNC symbol, L Entrez, En Ensembl, M MGI, R RGD |
bridgedb.org/datasources/datasources.tsv |
| Pairs needed by the build |
S→L, H→L, L→H, L→En, S→En, mouse M→L, rat R→L: all isMappingSupported = true
|
GET /{org}/isMappingSupported/{a}/{b} |
| Batch use |
POST /{org}/xrefsBatch/{code}, one ID per line. Returns every cross-reference (L:7157,H:TP53,...); unknown IDs come back as N/A. The dataSource filter is ignored, so filter client-side. The batch endpoint isn't in the documentation pages; it was tested directly |
tested 30 Nov |
| Multiple candidates | Returns all of them, unranked. The documentation says nothing about ranking or a preferred candidate | docs silent |
| Previous / alias symbols |
Not resolved. MLL2 (previous symbol of KMT2D) and ER return nothing; KMT2D returns 8085 |
tested 30 Nov |
| Running locally | Docker bigcatum/bridgedb (includes all species' .bridge files); webservice jar + gdb.config; Java library org.bridgedb.bio 4.0.1 (Java 21+); R BridgeDbR. No official Python client |
bridgedb.org/pages/webservice-impl.html, github.com/bridgedb |
These three methods do not need the UniProt ID-mapping service and ran on 30 Nov.
| Source | Method | Coverage | Correct (of IDs with truth) | Wrong or guessed | Not mapped: reason |
|---|---|---|---|---|---|
| GO, 19,682 IDs (19,530 with truth) | uniprot_file 2026_04 | 95.26% | 95.70% | 5 | 933 absent from UniProt's GeneID links |
| bridgedb (Ens 111) | 94.44% | 94.12% | 8 | 1,094 absent | |
| ensembl116 | 95.01% | 94.45% | 7 | 983 absent | |
| KEGG 2011, 5,963 symbols (5,941 with truth) | uniprot_file 2026_04 | 95.47% | 95.09% | 6 guessed | 222 renamed not resolved, 41 absent, 7 ambiguous refused |
| bridgedb (Ens 111) | 94.57% | 94.31% | 1 | 249 renamed not resolved, 62 absent, 13 ambiguous refused | |
| ensembl116 | — | — | — | not supported (symbol input) |



Tables: results/aim2/mapping_2026-11-30/cached/ (calls_*.tsv.gz per ID, membership_*.tsv.gz per gene set, summary_*.tsv).
What this shows so far:
- BridgeDb doesn't beat UniProt's own data on either source. It is 1.6 points lower on GO and 0.8 lower on KEGG. Its data (Ensembl 111, 2024) is older than both alternatives. On GO it misses 184 accessions that UniProt 2026_04 maps correctly.
-
Renamed genes are the main failure for the 2011 source. 253 of 5,963 KEGG symbols (4.2%) are previous symbols of exactly one current gene. BridgeDb maps 4 of them; UniProt's primary gene names map 31. Examples BridgeDb leaves empty:
AARS→AARS1,ACCN1→ASIC2,ADRBK1→GRK2. -
Silent guesses are real in 2011 KEGG. From primary gene names, UniProt's data picks one gene for 6 ambiguous symbols (HGNC lists 2 current genes for each):
MLL2→KMT2D (also KMT2B),COX1→MT-CO1 (also PTGS1),COX2→MT-CO2 (also PTGS2),ND1→MT-ND1 (also IVNS1ABP),SARS→SARS1 (also SARS2),TAZ→TAFAZZIN (also WWTR1). BridgeDb refuses all 13 ambiguous symbols, which is the right behaviour. - 761 GO accessions are missed by all three data sources. HGNC links them to an Entrez gene, but UniProt and Ensembl don't. They are immunoglobulin and T-cell receptor gene segments (about 280), pseudogenes (140) and non-coding RNAs. This is a gap shared by the references, not a weakness of one method. An HGNC-based fallback (UniProt accession → HGNC → Entrez) would recover them; it isn't implemented.
Pending: waiting for the UniProt ID-mapping service. This section will answer:
- which IDs the branch changes newly rescue, still can't resolve, newly lose or map differently compared with production;
- whether more valid gene-set memberships survive;
- which gene sets gain or lose members, including sets that cross 15 genes.
These were measured on 18 Nov on human protein-coding genes (orthology_summary.tsv):
| HomoloGene (legacy, frozen 2014) | Ensembl Compara 116 | Agree where both map | |
|---|---|---|---|
| Mouse | 85.6% | 90.8% | 98.7% |
| Rat | 78.4% | 88.5% | 97.3% |
| Woodchuck (lab table, 2021) | 90.5% | n/a | n/a |
BridgeDb maps identifiers within a species. It doesn't provide orthologs, so it isn't an alternative to HomoloGene or Compara.
- 152 GO accessions and 22 KEGG symbols that HGNC can't place (unreviewed or obsolete UniProt entries, symbols never in HGNC). They are reported, never scored.
- HGNC is one reference among several. Where HGNC and NCBI or UniProt disagree, "wrong" means "disagrees with HGNC". The audit sample (
audit_*.tsv) lists the HGNC record for each sampled disagreement so it can be checked by hand. - For ambiguous aliases there is no single right answer. Correct means "did not silently pick one".