Datasets:
Update dataset card for public release
Browse files
README.md
CHANGED
|
@@ -4,40 +4,161 @@ license: cc-by-4.0
|
|
| 4 |
tags:
|
| 5 |
- biology
|
| 6 |
- protein
|
|
|
|
| 7 |
- uniref
|
| 8 |
- uniref50
|
|
|
|
|
|
|
| 9 |
pretty_name: UniRef50
|
| 10 |
size_categories:
|
| 11 |
- 10M<n<100M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# UniRef50
|
| 15 |
|
| 16 |
-
Complete UniRef50 dataset from UniProt, converted
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
| 21 |
-
- Cluster metadata (ID, name, common taxon, member count)
|
| 22 |
-
- Representative member sequence and annotations
|
| 23 |
-
- GO terms (molecular function, biological process, cellular component)
|
| 24 |
-
- Cross-references (UniRef90, UniRef100, UniParc)
|
| 25 |
-
- All member IDs per cluster
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
## Usage
|
| 34 |
|
| 35 |
```python
|
| 36 |
from datasets import load_dataset
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
ds = load_dataset("ConvergeBio/uniref50")
|
| 39 |
```
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
## License
|
| 42 |
|
| 43 |
UniProt data is available under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
|
|
| 4 |
tags:
|
| 5 |
- biology
|
| 6 |
- protein
|
| 7 |
+
- protein-sequences
|
| 8 |
- uniref
|
| 9 |
- uniref50
|
| 10 |
+
- proteomics
|
| 11 |
+
- bioinformatics
|
| 12 |
pretty_name: UniRef50
|
| 13 |
size_categories:
|
| 14 |
- 10M<n<100M
|
| 15 |
+
task_categories:
|
| 16 |
+
- feature-extraction
|
| 17 |
+
configs:
|
| 18 |
+
- config_name: default
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: "train-*.parquet"
|
| 22 |
+
dataset_info:
|
| 23 |
+
features:
|
| 24 |
+
- name: id
|
| 25 |
+
dtype: string
|
| 26 |
+
- name: name
|
| 27 |
+
dtype: string
|
| 28 |
+
- name: updated
|
| 29 |
+
dtype: string
|
| 30 |
+
- name: member_count
|
| 31 |
+
dtype: int32
|
| 32 |
+
- name: common_taxon
|
| 33 |
+
dtype: string
|
| 34 |
+
- name: common_taxon_id
|
| 35 |
+
dtype: int32
|
| 36 |
+
- name: seed_id
|
| 37 |
+
dtype: string
|
| 38 |
+
- name: go_mf
|
| 39 |
+
sequence: string
|
| 40 |
+
- name: go_bp
|
| 41 |
+
sequence: string
|
| 42 |
+
- name: go_cc
|
| 43 |
+
sequence: string
|
| 44 |
+
- name: member_ids
|
| 45 |
+
sequence: string
|
| 46 |
+
- name: rep_member_id
|
| 47 |
+
dtype: string
|
| 48 |
+
- name: rep_member_id_type
|
| 49 |
+
dtype: string
|
| 50 |
+
- name: rep_organism
|
| 51 |
+
dtype: string
|
| 52 |
+
- name: rep_organism_tax_id
|
| 53 |
+
dtype: int32
|
| 54 |
+
- name: rep_protein_name
|
| 55 |
+
dtype: string
|
| 56 |
+
- name: rep_accessions
|
| 57 |
+
sequence: string
|
| 58 |
+
- name: rep_uniparc_id
|
| 59 |
+
dtype: string
|
| 60 |
+
- name: rep_uniref90_id
|
| 61 |
+
dtype: string
|
| 62 |
+
- name: rep_uniref100_id
|
| 63 |
+
dtype: string
|
| 64 |
+
- name: rep_is_seed
|
| 65 |
+
dtype: bool
|
| 66 |
+
- name: sequence
|
| 67 |
+
dtype: large_string
|
| 68 |
+
- name: sequence_length
|
| 69 |
+
dtype: int32
|
| 70 |
+
- name: sequence_crc64
|
| 71 |
+
dtype: string
|
| 72 |
+
- name: sequence_xxh128
|
| 73 |
+
dtype: string
|
| 74 |
+
splits:
|
| 75 |
+
- name: train
|
| 76 |
+
num_examples: 60315044
|
| 77 |
+
download_size: 18113417832
|
| 78 |
---
|
| 79 |
|
| 80 |
# UniRef50
|
| 81 |
|
| 82 |
+
Complete [UniRef50](https://www.uniprot.org/uniref?query=identity:0.5) dataset from UniProt, converted to sharded Parquet. UniRef50 clusters protein sequences at 50% sequence identity, providing the most aggressively deduplicated view in the UniRef family. It is commonly used for fast sequence searches, domain-level analyses, and as a compact training set for protein language models.
|
| 83 |
|
| 84 |
+
**Part of the [ConvergeBio Protein Database Collection](https://huggingface.co/collections/ConvergeBio/protein-database)** — see also [UniRef100](https://huggingface.co/datasets/ConvergeBio/uniref100), [UniRef90](https://huggingface.co/datasets/ConvergeBio/uniref90), and [UniClust30](https://huggingface.co/datasets/ConvergeBio/uniclust30).
|
| 85 |
|
| 86 |
+
## Dataset Summary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
+
| | |
|
| 89 |
+
|---|---|
|
| 90 |
+
| **Clusters** | 60,315,044 |
|
| 91 |
+
| **Shards** | 130 |
|
| 92 |
+
| **Compressed size** | ~17 GB (zstd) |
|
| 93 |
+
| **Sequence lengths** | 11–49,499 aa (median 189, mean 287) |
|
| 94 |
+
| **Members per cluster** | 1–321,476 (median 1, mean 8.7) |
|
| 95 |
+
| **GO annotation coverage** | MF 18.6% · BP 12.0% · CC 12.4% |
|
| 96 |
+
| **Updated range** | 2006-10-31 to 2026-01-28 |
|
| 97 |
|
| 98 |
+
## Schema
|
| 99 |
+
|
| 100 |
+
Each row represents one UniRef50 cluster with its representative sequence and metadata.
|
| 101 |
+
|
| 102 |
+
| Column | Type | Description |
|
| 103 |
+
|--------|------|-------------|
|
| 104 |
+
| `id` | `string` | Cluster identifier (e.g. `UniRef50_P12345`) |
|
| 105 |
+
| `name` | `string` | Cluster name from UniProt |
|
| 106 |
+
| `updated` | `string` | Last update date (`YYYY-MM-DD`) |
|
| 107 |
+
| `member_count` | `int32` | Number of sequences in the cluster |
|
| 108 |
+
| `common_taxon` | `string` | Lowest common taxon across members |
|
| 109 |
+
| `common_taxon_id` | `int32` | NCBI Taxonomy ID of common taxon |
|
| 110 |
+
| `seed_id` | `string` | ID of the seed sequence |
|
| 111 |
+
| `go_mf` | `list<string>` | GO Molecular Function terms (`GO:XXXXXXX`) |
|
| 112 |
+
| `go_bp` | `list<string>` | GO Biological Process terms |
|
| 113 |
+
| `go_cc` | `list<string>` | GO Cellular Component terms |
|
| 114 |
+
| `member_ids` | `list<string>` | All member sequence IDs |
|
| 115 |
+
| `rep_member_id` | `string` | Representative member ID |
|
| 116 |
+
| `rep_member_id_type` | `string` | ID type (e.g. `UniProtKB ID`, `UniParc ID`) |
|
| 117 |
+
| `rep_organism` | `string` | Source organism of representative |
|
| 118 |
+
| `rep_organism_tax_id` | `int32` | NCBI Taxonomy ID of representative organism |
|
| 119 |
+
| `rep_protein_name` | `string` | Protein name of representative |
|
| 120 |
+
| `rep_accessions` | `list<string>` | UniProtKB accessions of representative |
|
| 121 |
+
| `rep_uniparc_id` | `string` | UniParc ID of representative |
|
| 122 |
+
| `rep_uniref90_id` | `string` | Child UniRef90 cluster ID |
|
| 123 |
+
| `rep_uniref100_id` | `string` | Child UniRef100 cluster ID |
|
| 124 |
+
| `rep_is_seed` | `bool` | Whether the representative is the seed sequence |
|
| 125 |
+
| `sequence` | `large_string` | Representative protein sequence (uppercase amino acid alphabet) |
|
| 126 |
+
| `sequence_length` | `int32` | Length of the sequence in residues |
|
| 127 |
+
| `sequence_crc64` | `string` | CRC64 checksum from UniProt (hex) |
|
| 128 |
+
| `sequence_xxh128` | `string` | xxHash-128 of the sequence (hex, computed at build time) |
|
| 129 |
|
| 130 |
## Usage
|
| 131 |
|
| 132 |
```python
|
| 133 |
from datasets import load_dataset
|
| 134 |
|
| 135 |
+
# Stream without downloading everything
|
| 136 |
+
ds = load_dataset("ConvergeBio/uniref50", streaming=True)
|
| 137 |
+
for row in ds["train"]:
|
| 138 |
+
print(row["id"], row["sequence_length"])
|
| 139 |
+
break
|
| 140 |
+
|
| 141 |
+
# Or load fully
|
| 142 |
ds = load_dataset("ConvergeBio/uniref50")
|
| 143 |
```
|
| 144 |
|
| 145 |
+
## Data Processing
|
| 146 |
+
|
| 147 |
+
- **Source:** `uniref50.xml.gz` from the [UniProt FTP](https://ftp.uniprot.org/pub/databases/uniprot/uniref/uniref50/)
|
| 148 |
+
- **Parsing:** Streaming XML parse with `lxml.etree.iterparse`, multi-process
|
| 149 |
+
- **Integrity:** xxHash-128 computed per sequence; CRC64 preserved from source XML
|
| 150 |
+
- **Validation:** Passed all tiers — schema conformance, zero null/empty sequences, xxHash roundtrip, CRC64 format, GO term format, member ID consistency, and field-by-field comparison against source XML
|
| 151 |
+
- **Format:** Sharded Parquet with zstd compression
|
| 152 |
+
|
| 153 |
+
## Source & Citation
|
| 154 |
+
|
| 155 |
+
UniRef is produced by the [UniProt Consortium](https://www.uniprot.org/):
|
| 156 |
+
|
| 157 |
+
> Suzek BE, Wang Y, Huang H, McGarvey PB, Wu CH, UniProt Consortium.
|
| 158 |
+
> "UniRef clusters: a comprehensive and scalable alternative for improving
|
| 159 |
+
> sequence similarity searches." *Bioinformatics* 31(6):926–932 (2015).
|
| 160 |
+
> [doi:10.1093/bioinformatics/btu739](https://doi.org/10.1093/bioinformatics/btu739)
|
| 161 |
+
|
| 162 |
## License
|
| 163 |
|
| 164 |
UniProt data is available under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|