Repository navigation
Build Walkthrough
Checked on 30 Nov 2026 against feature/reena-bugfixes. Every row on this page comes from real files produced in that run (see Docker Reproduction).
EBI GOA goa_human.gaf.gz ─┐ (UniProt accessions + GO IDs + evidence codes)
├─► createGo (GenesetTools.jar, Java) ─► Human_GO_{bp,mf,cc}_{no,with}_GO_iea_UniProt.gmt
GO go.obo ───────────┘ (term names, branch, is_a / part_of parents)
│
▼
translate (GenesetTools.jar → UniProt ID-mapping REST service)
│
┌─────────────┬───────────┴───────────┬──────────────┐
▼ ▼ ▼ ▼
*_UniProt.gmt *_entrezgene.gmt *_symbol.gmt *_ensembl.gmt
│
cat the three branches ─► Human_GOALL_{no,with}_GO_iea_<date>_<id>.gmt
cat with pathway files ─► Human_GO_AllPathways_..._<date>_entrezgene.gmt (what most users download)
Mouse and rat GO are built the same way from their own GAFs. Mouse and rat pathway sets are converted from the human Entrez files with HomoloGene (convertGeneSets).
1. The annotations come from the GAF (goa_human.gaf.gz from EBI GOA, generated 2026-11-04). Here are the five lines annotated directly to this term (columns: UniProt, symbol, qualifier, GO ID, evidence, aspect):
P13866 SLC5A1 involved_in GO:0000017 ISS P
P13866 SLC5A1 involved_in GO:0000017 IMP P
P13866 SLC5A1 involved_in GO:0000017 IDA P
P31639 SLC5A2 involved_in GO:0000017 IDA P
P31639 SLC5A2 involved_in GO:0000017 IDA P
2. The ontology file adds the name, the branch and the parents (go.obo, data-version releases/2026-07-26):
id: GO:0000017
name: alpha-glucoside transport
namespace: biological_process
is_a: GO:0042946 ! glucoside transport
createGo also gives every gene annotated to a child term to all its is_a and part_of parents. In go.obo one MF term points at this BP term:
id: GO:0015151
name: alpha-glucoside transmembrane transporter activity
namespace: molecular_function
relationship: part_of GO:0000017 ! alpha-glucoside transport
3. createGo writes the gene set (GeneSetTools/create_genesets_release.sh, functions process_gaf / process_gaf_noiea; Java GOGeneSetFileMaker). Each GMT row is name, description, then genes, separated by tabs:
Human_GO_bp_no_GO_iea_UniProt.gmt:
alpha-glucoside transport%GObp%GO:0000017 <TAB> alpha-glucoside transport <TAB> P31639 <TAB> P13866
Because of that part_of link, the same term is also written into the MF file:
Human_GO_mf_no_GO_iea_UniProt.gmt:
alpha-glucoside transport%GOmf%GO:0000017 <TAB> alpha-glucoside transport <TAB> P31639 <TAB> P13866
When the three branch files are concatenated into GOALL, GO:0000017 appears twice. This is issue #22 (see GO Investigation).
4. Identifiers are translated only after the UniProt GMT exists. translate_gmt_UniProt calls GenesetTools.jar translate --oldID UniProt --newID {symbol,entrezgene,ensembl}. That sends every accession in the file to the UniProt ID-mapping REST service, in jobs of 1,000 IDs. Nothing in the GO step maps IDs before this point.
5. What enrichment tools read. GSEA, g:Profiler (custom GMT) and EnrichmentMap read the GMT as tab-separated text:
| Column | Example | Used for |
|---|---|---|
| 1 | alpha-glucoside transport%GObp%GO:0000017 |
gene set ID (name%source%source ID; EnrichmentMap splits on %) |
| 2 | alpha-glucoside transport |
description |
| 3+ |
P31639 P13866 (or Entrez / symbol / Ensembl IDs) |
members, which must use the same ID type as the user's data |
| Step | Legacy Docker build (create_genesets_release.sh) |
Snakemake pipeline (pipeline/) |
|---|---|---|
| Download GO GAF + OBO | yes (download_GOhuman_data) |
yes (download_file, with retries, SHA-256 and .json provenance) |
| GO human GMT (UniProt) | yes (createGo, Java) |
yes (go_current → go_build.py). Identical to Java on 30 Nov 2026 inputs: 43,406 / 43,406 sets, 3,033,935 memberships (parity table) |
| GO mouse / rat GMT | yes |
no. sources.yaml lists them, but the Snakefile has no rule yet |
| UniProt → Entrez / symbol / Ensembl | yes (Java, UniProt REST) | yes for GO human (translate_go → translate.py, UniProt REST + HGNC) |
| Mouse / rat conversion | HomoloGene (frozen 2014) | GO only: orthologs_go → orthologs.py, Ensembl Compara 116 |
| Woodchuck conversion | yes (lab homology table, 2021) | no |
| BioPAX sources (Reactome, Panther, PathBank, HumanCyc, NCI, NetPath, IOB) | yes (Java toGSEA + BioPAX validator) |
download only; parsing not ported (biopax_legacy) |
| WikiPathways, PFOCR (GMT sources) | yes | download only |
| HPO, DrugBank | yes (Java / Perl) | download only (hpo_legacy, drugbank_legacy) |
| Static sources (KEGG 2011, MSigDB, miR, TF) | yes, re-translated every month | classified and measured for decay (source_status), not built |
| Combined AllPathways files, release check, publish | yes | no |
| Slack / summary report | yes | no |
In short, the Snakemake pipeline can rebuild human GO end to end, and download (but not yet parse) everything else. Every other source still depends on the legacy build.