Swiss-Prot 2026_03 with Annotation Vocabulary tokens and descriptions
Browse files- README.md +102 -49
- data/train-00000-of-00002.parquet +2 -2
- data/train-00001-of-00002.parquet +2 -2
- receipts/build.json +80 -0
- vocabulary.parquet +3 -0
README.md
CHANGED
|
@@ -1,52 +1,17 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: Gene Ontology (cellular component)
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: Gene Ontology (molecular function)
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: Pfam
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: Gene3D
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: Protein families
|
| 25 |
-
dtype: string
|
| 26 |
-
- name: Post-translational modification
|
| 27 |
-
dtype: string
|
| 28 |
-
- name: Subcellular location [CC]
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: Catalytic activity
|
| 31 |
-
dtype: string
|
| 32 |
-
- name: Kinetics
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: Pathway
|
| 35 |
-
dtype: string
|
| 36 |
-
- name: pH dependence
|
| 37 |
-
dtype: string
|
| 38 |
-
- name: Temperature dependence
|
| 39 |
-
dtype: string
|
| 40 |
-
- name: Function [CC]
|
| 41 |
-
dtype: string
|
| 42 |
-
- name: Organism
|
| 43 |
-
dtype: string
|
| 44 |
-
splits:
|
| 45 |
-
- name: train
|
| 46 |
-
num_bytes: 839485642
|
| 47 |
-
num_examples: 571609
|
| 48 |
-
download_size: 354346877
|
| 49 |
-
dataset_size: 839485642
|
| 50 |
configs:
|
| 51 |
- config_name: default
|
| 52 |
data_files:
|
|
@@ -54,4 +19,92 @@ configs:
|
|
| 54 |
path: data/train-*
|
| 55 |
---
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
pretty_name: Swiss-Prot 2026_03 with Annotation Vocabulary
|
| 4 |
+
task_categories:
|
| 5 |
+
- feature-extraction
|
| 6 |
+
- text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- biology
|
| 9 |
+
- protein
|
| 10 |
+
- uniprot
|
| 11 |
+
- swiss-prot
|
| 12 |
+
- annotation-vocabulary
|
| 13 |
+
size_categories:
|
| 14 |
+
- 100K<n<1M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
configs:
|
| 16 |
- config_name: default
|
| 17 |
data_files:
|
|
|
|
| 19 |
path: data/train-*
|
| 20 |
---
|
| 21 |
|
| 22 |
+
# Swiss-Prot 2026_03
|
| 23 |
+
|
| 24 |
+
Every reviewed UniProtKB entry of release 2026_03, 575,748 proteins, with UniProt's annotation columns, the Annotation
|
| 25 |
+
Vocabulary tokens of its terms, a readable form of each token, and a natural-language description. It replaces the July 2024
|
| 26 |
+
release of this repository and the former `Synthyra/SwissProtNLP` and `Synthyra/SwissProt-AV`.
|
| 27 |
+
|
| 28 |
+
| | |
|
| 29 |
+
|---|---:|
|
| 30 |
+
| Proteins (rows) | 575,748 |
|
| 31 |
+
| With at least one vocabulary token | 557,864 |
|
| 32 |
+
| With a description beyond mass and length | 534,454 |
|
| 33 |
+
| Tokens | 6,025,408 |
|
| 34 |
+
| Vocabulary terms used | 24,970 of 25,119 |
|
| 35 |
+
|
| 36 |
+
## Homology leakage
|
| 37 |
+
|
| 38 |
+
None is controlled: this is a corpus, one `train` split of every entry, with no clustering and no held-out split. Do not
|
| 39 |
+
report a score measured on it as held-out performance; the vocabulary's own release, `Synthyra/annotation_experimental_v2`,
|
| 40 |
+
holds the split by 0.5 identity for that.
|
| 41 |
+
|
| 42 |
+
## How it was built
|
| 43 |
+
|
| 44 |
+
1. Downloaded the Swiss-Prot XML and `subcell.txt` of UniProt release 2026_03 from the UniProt FTP, and UniProt's TSV export of
|
| 45 |
+
the 2024 release's 20 fields from its REST service, checking that both served 2026_03 before and after.
|
| 46 |
+
2. Read each entry's terms from the XML: EC numbers, Rhea reactions, ChEBI cofactors, subcellular locations, membrane topology
|
| 47 |
+
and orientation from its comments, and GO terms, InterPro entries and Pfam families from its database references, with every
|
| 48 |
+
evidence code. Isoform-scoped comments are left out.
|
| 49 |
+
3. Turned each term into the token the vocabulary of `Synthyra/annotation_experimental_v2` gives it; a term the vocabulary lacks
|
| 50 |
+
gets no token and is counted.
|
| 51 |
+
4. Wrote the description from the entry's function, catalytic activity, cofactor, pathway, location, domain and PTM comments, its
|
| 52 |
+
EC numbers, mass and length, with citations removed.
|
| 53 |
+
5. Joined the XML's rows to the TSV's by accession, refusing the build unless both name the same 575,748 entries with the same
|
| 54 |
+
sequences.
|
| 55 |
+
|
| 56 |
+
Tokens by aspect:
|
| 57 |
+
|
| 58 |
+
| Aspect | Tokens |
|
| 59 |
+
|---|---:|
|
| 60 |
+
| interpro | 1,894,901 |
|
| 61 |
+
| go_bp | 925,050 |
|
| 62 |
+
| go_mf | 867,517 |
|
| 63 |
+
| go_cc | 806,802 |
|
| 64 |
+
| pfam | 592,072 |
|
| 65 |
+
| subcellular_location | 512,621 |
|
| 66 |
+
| cofactor | 143,041 |
|
| 67 |
+
| membrane_topology | 112,653 |
|
| 68 |
+
| rhea | 87,067 |
|
| 69 |
+
| ec | 70,873 |
|
| 70 |
+
| membrane_orientation | 12,811 |
|
| 71 |
+
|
| 72 |
+
## Columns
|
| 73 |
+
|
| 74 |
+
| Column | Meaning |
|
| 75 |
+
|---|---|
|
| 76 |
+
| `Entry ... Organism` | The 20 columns of the 2024 release, as UniProt's TSV export of the same fields writes them; an empty field is null. |
|
| 77 |
+
| `av_tokens` | Annotation Vocabulary tokens of every term the entry is annotated with, ascending, from the vocabulary of `Synthyra/annotation_experimental_v2`; `vocabulary.parquet` maps a token to its term. |
|
| 78 |
+
| `av_text` | For each token, in the same order, `<aspect>: <label> (<accession>)`. |
|
| 79 |
+
| `av_provenance` | For each token, in the same order, the sources and evidence codes that assert it, such as `UniProtKB-GO=ECO:0000314;UniProtKB=ECO:0000269` or `InterPro=match:Pfam`; `none` names an assertion without an evidence tag. |
|
| 80 |
+
| `nl_text` | A natural-language description of the entry built from its comments, one `Section: text` line each, in the style of SwissProtNLP. |
|
| 81 |
+
|
| 82 |
+
## Example rows
|
| 83 |
+
|
| 84 |
+
| Entry | Sequence | av_tokens | av_text | nl_text |
|
| 85 |
+
|---|---|---|---|---|
|
| 86 |
+
| A0A009IHW8 | MSLEQKKGADIISKILQIQNSIGKTTSPSTLKTKLSEISRKEQENARIQSKLSDLQK... | [259, 1285, 2363, 7667, ...] | [ec: EC 3.2.2.6, go_bp: signal transduction (GO:0007165),... | Function: NAD(+) hydrolase (NADase) that catalyzes cleava... |
|
| 87 |
+
| A0A011QK89 | MESIEAVVIGAGVVGLACARELARRGFETVILERHGAFGTETSARNSEVIHAGLYYP... | [9050, 11702, 16307, 19943, ...] | [go_mf: (S)-2-hydroxyglutarate dehydrogenase activity (GO... | Function: Catalyzes the dehydrogenation of L-2-hydroxyglu... |
|
| 88 |
+
| A0A017SE81 | MSTKFALVTGCGQGGIGEALITEYARRGIHAIATVLPAEPSDHLARAGITFFPLDVT... | [1075, 2346, 3796, 6563, ...] | [go_bp: phosphatidic acid biosynthetic process (GO:000665... | Function: Short-chain dehydrogenase; part of the gene clu... |
|
| 89 |
+
|
| 90 |
+
## What a model trained on it may say
|
| 91 |
+
|
| 92 |
+
The rows are what UniProt's curators and automatic annotation assert for each reviewed protein, with InterPro and Pfam matches
|
| 93 |
+
computed. A token's evidence may be experimental, inferred by similarity or electronic; filter `av_provenance` on experimental
|
| 94 |
+
codes (such as `ECO:0000269`, `ECO:0000314`) for the experimental subset. Absence of a token is not evidence that the protein
|
| 95 |
+
lacks the term, and the corpus has no held-out split, so it supports pretraining, retrieval indexes and description generation,
|
| 96 |
+
not a held-out claim.
|
| 97 |
+
|
| 98 |
+
## Sources and licence
|
| 99 |
+
|
| 100 |
+
UniProtKB/Swiss-Prot 2026_03 (CC BY 4.0), with Gene Ontology terms (CC BY 4.0) and InterPro and Pfam references (CC0) as
|
| 101 |
+
UniProt carries them; the vocabulary is that of `Synthyra/annotation_experimental_v2`. Released under CC BY 4.0; cite UniProt.
|
| 102 |
+
|
| 103 |
+
## Files
|
| 104 |
+
|
| 105 |
+
| File | Holds |
|
| 106 |
+
|---|---|
|
| 107 |
+
| `data/train-00000-of-00002.parquet` | the `train` split |
|
| 108 |
+
| `data/train-00001-of-00002.parquet` | the `train` split |
|
| 109 |
+
| `vocabulary.parquet` | each token's term: `token`, `term_id`, `aspect`, `source_database`, `accession`, `label` |
|
| 110 |
+
| `receipts/build.json` | the sources and their digests, the counts and the build's timings |
|
data/train-00000-of-00002.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4e93f037312898da2bc4197fd0e4ee1a7a21d41187602e7f139f0bde0ea78a7
|
| 3 |
+
size 134503904
|
data/train-00001-of-00002.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c4accd0dbe1f3e92ac2bf116d4d440e1122427f5add39a076c535cb981863db
|
| 3 |
+
size 159022612
|
receipts/build.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"counts": {
|
| 3 |
+
"distinct_tokens": 24970,
|
| 4 |
+
"entries": 575748,
|
| 5 |
+
"entries_described": 534454,
|
| 6 |
+
"entries_over_encoder_tokens": 5,
|
| 7 |
+
"entries_with_tokens": 557864,
|
| 8 |
+
"reader_counts": {
|
| 9 |
+
"catalytic activity:molecule_scoped": 2762,
|
| 10 |
+
"cofactor:molecule_scoped": 320,
|
| 11 |
+
"disease:molecule_scoped": 2,
|
| 12 |
+
"ec:incomplete": 50136,
|
| 13 |
+
"subcellular location:molecule_scoped": 12114
|
| 14 |
+
},
|
| 15 |
+
"terms_without_token_by_aspect": {
|
| 16 |
+
"cofactor": 5498,
|
| 17 |
+
"disease": 7216,
|
| 18 |
+
"ec": 185756,
|
| 19 |
+
"go_bp": 194371,
|
| 20 |
+
"go_cc": 52875,
|
| 21 |
+
"go_mf": 220726,
|
| 22 |
+
"interpro": 713604,
|
| 23 |
+
"membrane_topology": 9,
|
| 24 |
+
"pfam": 299197,
|
| 25 |
+
"rhea": 245869,
|
| 26 |
+
"subcellular_location": 4776
|
| 27 |
+
},
|
| 28 |
+
"tokens": 6025408,
|
| 29 |
+
"tokens_by_aspect": {
|
| 30 |
+
"cofactor": 143041,
|
| 31 |
+
"ec": 70873,
|
| 32 |
+
"go_bp": 925050,
|
| 33 |
+
"go_cc": 806802,
|
| 34 |
+
"go_mf": 867517,
|
| 35 |
+
"interpro": 1894901,
|
| 36 |
+
"membrane_orientation": 12811,
|
| 37 |
+
"membrane_topology": 112653,
|
| 38 |
+
"pfam": 592072,
|
| 39 |
+
"rhea": 87067,
|
| 40 |
+
"subcellular_location": 512621
|
| 41 |
+
},
|
| 42 |
+
"vocabulary_terms": 25119
|
| 43 |
+
},
|
| 44 |
+
"dataset": "Synthyra/SwissProt",
|
| 45 |
+
"files": {
|
| 46 |
+
"data/train-00000-of-00002.parquet": "e4e93f037312898da2bc4197fd0e4ee1a7a21d41187602e7f139f0bde0ea78a7",
|
| 47 |
+
"data/train-00001-of-00002.parquet": "5c4accd0dbe1f3e92ac2bf116d4d440e1122427f5add39a076c535cb981863db",
|
| 48 |
+
"vocabulary.parquet": "fc1c9e1c846f7f297fb60799a97abee50f779e22290dae6e0d7ec735169cf649"
|
| 49 |
+
},
|
| 50 |
+
"limit": null,
|
| 51 |
+
"rows": 575748,
|
| 52 |
+
"seconds": {
|
| 53 |
+
"download": 4.1,
|
| 54 |
+
"join_and_write": 9.5,
|
| 55 |
+
"parse_xml": 207.2
|
| 56 |
+
},
|
| 57 |
+
"sources": {
|
| 58 |
+
"hf://datasets/Synthyra/annotation_experimental_v2@b8882cf4d18139fec3e959040b9f0bf96d75dc1c/vocabulary.parquet": {
|
| 59 |
+
"sha256": "558e8aee7e2429704f4baaa50cdee6281a47c114599cd2cdaa3699242746a53d"
|
| 60 |
+
},
|
| 61 |
+
"https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/docs/subcell.txt": {
|
| 62 |
+
"bytes": 261754,
|
| 63 |
+
"sha256": "83fbcb606865a9fd989f3637e522168dced4e1fa23b2cf0f1e8b7d2d994b8a8a"
|
| 64 |
+
},
|
| 65 |
+
"https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.xml.gz": {
|
| 66 |
+
"bytes": 941852360,
|
| 67 |
+
"sha256": "20a0bb969fd8cb3ee97333b99a7f393f06219376c32c88d67033350746ae7edd"
|
| 68 |
+
},
|
| 69 |
+
"https://ftp.uniprot.org/pub/databases/uniprot/current_release/relnotes.txt": {
|
| 70 |
+
"bytes": 1146,
|
| 71 |
+
"sha256": "48cc0ef635a5c7c3e3f26628fecd3d2a88f6c9c40a23bda522e41938f96d0422"
|
| 72 |
+
},
|
| 73 |
+
"https://rest.uniprot.org/uniprotkb/stream?query=reviewed:true&format=tsv&compressed=true&fields=accession,id,sequence,ec,cc_cofactor,go_p,go_c,go_f,xref_pfam,xref_gene3d,protein_families,cc_ptm,cc_subcellular_location,cc_catalytic_activity,kinetics,cc_pathway,ph_dependence,temp_dependence,cc_function,organism_name": {
|
| 74 |
+
"bytes": 271686317,
|
| 75 |
+
"sha256": "b3f44c701aca2505989523cc5b1b06dff12b010ab6d98cb481458a40dd00e1d2"
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
+
"uniprot_release": "2026_03",
|
| 79 |
+
"workers": 16
|
| 80 |
+
}
|
vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc1c9e1c846f7f297fb60799a97abee50f779e22290dae6e0d7ec735169cf649
|
| 3 |
+
size 626295
|