Datasets:
Update dataset card for public release
Browse files
README.md
CHANGED
|
@@ -4,51 +4,123 @@ license: cc-by-sa-4.0
|
|
| 4 |
tags:
|
| 5 |
- biology
|
| 6 |
- protein
|
|
|
|
| 7 |
- uniclust
|
| 8 |
- uniclust30
|
| 9 |
- uniref30
|
| 10 |
- msa
|
|
|
|
|
|
|
|
|
|
| 11 |
pretty_name: UniClust30 (UniRef30)
|
| 12 |
size_categories:
|
| 13 |
- 10M<n<100M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# UniClust30 (UniRef30)
|
| 17 |
|
| 18 |
-
Complete UniClust30 / UniRef30 dataset (release 2023_02) from the Söding Lab,
|
| 19 |
-
converted from HH-suite A3M format to sharded Parquet.
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
| 24 |
-
- **cluster_id**: Cluster identifier (e.g. UniRef30 accession)
|
| 25 |
-
- **representative_id**: UniProt accession of the representative sequence
|
| 26 |
-
- **sequence**: Representative protein sequence
|
| 27 |
-
- **sequence_length**: Length of the representative sequence
|
| 28 |
-
- **sequence_xxh128**: xxHash-128 of the representative sequence
|
| 29 |
-
- **num_aligned**: Number of sequences in the A3M multiple sequence alignment
|
| 30 |
-
- **a3m**: Full A3M-formatted multiple sequence alignment for the cluster
|
| 31 |
-
- **member_count**: Number of cluster members (from mapping file)
|
| 32 |
-
- **member_ids**: List of all member UniProt accessions
|
| 33 |
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
## Usage
|
| 44 |
|
| 45 |
```python
|
| 46 |
from datasets import load_dataset
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
ds = load_dataset("ConvergeBio/uniclust30")
|
| 49 |
```
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
## License
|
| 52 |
|
| 53 |
-
UniClust30 data is available under
|
| 54 |
-
[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
|
|
|
|
| 4 |
tags:
|
| 5 |
- biology
|
| 6 |
- protein
|
| 7 |
+
- protein-sequences
|
| 8 |
- uniclust
|
| 9 |
- uniclust30
|
| 10 |
- uniref30
|
| 11 |
- msa
|
| 12 |
+
- multiple-sequence-alignment
|
| 13 |
+
- proteomics
|
| 14 |
+
- bioinformatics
|
| 15 |
pretty_name: UniClust30 (UniRef30)
|
| 16 |
size_categories:
|
| 17 |
- 10M<n<100M
|
| 18 |
+
task_categories:
|
| 19 |
+
- feature-extraction
|
| 20 |
+
configs:
|
| 21 |
+
- config_name: default
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: "train-*.parquet"
|
| 25 |
+
dataset_info:
|
| 26 |
+
features:
|
| 27 |
+
- name: cluster_id
|
| 28 |
+
dtype: string
|
| 29 |
+
- name: representative_id
|
| 30 |
+
dtype: string
|
| 31 |
+
- name: sequence
|
| 32 |
+
dtype: large_string
|
| 33 |
+
- name: sequence_length
|
| 34 |
+
dtype: int32
|
| 35 |
+
- name: sequence_xxh128
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: num_aligned
|
| 38 |
+
dtype: int32
|
| 39 |
+
- name: a3m
|
| 40 |
+
dtype: large_string
|
| 41 |
+
- name: member_count
|
| 42 |
+
dtype: int32
|
| 43 |
+
- name: member_ids
|
| 44 |
+
sequence: string
|
| 45 |
+
splits:
|
| 46 |
+
- name: train
|
| 47 |
+
num_examples: 36293491
|
| 48 |
---
|
| 49 |
|
| 50 |
# UniClust30 (UniRef30)
|
| 51 |
|
| 52 |
+
Complete [UniClust30 / UniRef30](https://uniclust.mmseqs.com/) dataset (release 2023_02) from the Söding Lab, converted from HH-suite A3M format to sharded Parquet. UniClust30 clusters UniProt sequences at 30% sequence identity and provides pre-computed multiple sequence alignments (MSAs), making it a key input for protein structure prediction (e.g. ColabFold, AlphaFold) and co-evolutionary analyses.
|
|
|
|
| 53 |
|
| 54 |
+
**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 [UniRef50](https://huggingface.co/datasets/ConvergeBio/uniref50).
|
| 55 |
|
| 56 |
+
## Dataset Summary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
+
| | |
|
| 59 |
+
|---|---|
|
| 60 |
+
| **Clusters** | 36,293,491 |
|
| 61 |
+
| **Shards** | 629 |
|
| 62 |
+
| **Source release** | 2023_02 |
|
| 63 |
+
| **Source format** | HH-suite ffindex/ffdata A3M database + cluster mapping TSV |
|
| 64 |
|
| 65 |
+
## Schema
|
| 66 |
+
|
| 67 |
+
Each row represents one UniRef30 cluster with its representative sequence, full A3M alignment, and cluster membership.
|
| 68 |
+
|
| 69 |
+
| Column | Type | Description |
|
| 70 |
+
|--------|------|-------------|
|
| 71 |
+
| `cluster_id` | `string` | Cluster identifier (UniRef30 accession) |
|
| 72 |
+
| `representative_id` | `string` | UniProt accession of the representative sequence |
|
| 73 |
+
| `sequence` | `large_string` | Representative protein sequence (uppercase amino acid alphabet) |
|
| 74 |
+
| `sequence_length` | `int32` | Length of the representative sequence in residues |
|
| 75 |
+
| `sequence_xxh128` | `string` | xxHash-128 of the sequence (hex, computed at build time) |
|
| 76 |
+
| `num_aligned` | `int32` | Number of sequences in the A3M multiple sequence alignment |
|
| 77 |
+
| `a3m` | `large_string` | Full A3M-formatted MSA for the cluster |
|
| 78 |
+
| `member_count` | `int32` | Number of cluster members (from mapping file) |
|
| 79 |
+
| `member_ids` | `list<string>` | All member UniProt accessions |
|
| 80 |
|
| 81 |
## Usage
|
| 82 |
|
| 83 |
```python
|
| 84 |
from datasets import load_dataset
|
| 85 |
|
| 86 |
+
# Stream without downloading everything
|
| 87 |
+
ds = load_dataset("ConvergeBio/uniclust30", streaming=True)
|
| 88 |
+
for row in ds["train"]:
|
| 89 |
+
print(row["cluster_id"], row["num_aligned"], row["sequence_length"])
|
| 90 |
+
break
|
| 91 |
+
|
| 92 |
+
# Or load fully
|
| 93 |
ds = load_dataset("ConvergeBio/uniclust30")
|
| 94 |
```
|
| 95 |
|
| 96 |
+
### Working with A3M alignments
|
| 97 |
+
|
| 98 |
+
The `a3m` column contains the full multiple sequence alignment in [A3M format](https://github.com/soedinglab/hh-suite/wiki#a3m-format) (a compressed variant of FASTA). You can parse it directly or use HH-suite tools:
|
| 99 |
+
|
| 100 |
+
```python
|
| 101 |
+
row = next(iter(ds["train"]))
|
| 102 |
+
lines = row["a3m"].split("\n")
|
| 103 |
+
headers = [l for l in lines if l.startswith(">")]
|
| 104 |
+
print(f"Cluster {row['cluster_id']}: {len(headers)} sequences in MSA")
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
## Data Processing
|
| 108 |
+
|
| 109 |
+
- **Source:** `UniRef30_2023_02_hhsuite.tar.gz` and `uniref_mapping.tsv.gz` from [uniclust.mmseqs.com](https://uniclust.mmseqs.com/)
|
| 110 |
+
- **Parsing:** Read ffindex/ffdata A3M database; representative sequence and alignment count extracted from each A3M entry; cluster members from mapping TSV
|
| 111 |
+
- **Integrity:** xxHash-128 computed per sequence; A3M-extracted sequence verified against stored sequence for every row
|
| 112 |
+
- **Validation:** Passed all tiers — schema conformance, zero null/empty sequences, xxHash roundtrip, A3M format validation, member ID consistency against mapping TSV, field-by-field comparison against source ffindex/ffdata, and exact row count match (36,293,491)
|
| 113 |
+
- **Format:** Sharded Parquet with zstd compression
|
| 114 |
+
|
| 115 |
+
## Source & Citation
|
| 116 |
+
|
| 117 |
+
UniClust30 is produced by the [Söding Lab](https://www.mpinat.mpg.de/soeding):
|
| 118 |
+
|
| 119 |
+
> Mirdita M, von den Driesch L, Galiez C, Martin MJ, Söding J, Steinegger M.
|
| 120 |
+
> "Uniclust databases of clustered and deeply annotated protein sequences and alignments."
|
| 121 |
+
> *Nucleic Acids Research* 45(D1):D206–D213 (2017).
|
| 122 |
+
> [doi:10.1093/nar/gkw1081](https://doi.org/10.1093/nar/gkw1081)
|
| 123 |
+
|
| 124 |
## License
|
| 125 |
|
| 126 |
+
UniClust30 data is available under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
|
|
|