File size: 4,402 Bytes
e499a9b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dd8442a
e499a9b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dd8442a
e499a9b
dd8442a
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
---
pretty_name: CATH Domain Classification
license: cc-by-4.0
tags:
- biology
- proteins
- protein-structure
- cath
- parquet
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*.parquet
  - split: test
    path: data/test-*.parquet
---

# CATH Domain Classification

CATH is a hierarchical classification database for protein domain structures, organizing domains by class, architecture, topology, and homologous superfamily.

## Splits

| Split | Rows |
|---|---:|
| train | 541,123 |
| test | 60,205 |
| total | 601,328 |

The split is deterministic and S35-cluster-aware: all domains sharing the same CATH homologous superfamily and S35 cluster key are kept in the same split. This avoids putting close S35-cluster relatives in both train and test.

## Dataset Statistics

| Metric | Value |
|---|---:|
| Domains | 601,328 |
| Unique S35 cluster keys | 37,350 |
| Unique homologous superfamilies | 6,630 |
| Unique topologies | 1,472 |
| Unique architectures | 43 |
| Train/test S35 cluster overlap | 0 |
| Unknown structure-resolution sentinel rows | 9,726 |

Class distribution:

| CATH class | Rows |
|---|---:|
| Alpha Beta | 305,361 |
| Mainly Beta | 158,943 |
| Mainly Alpha | 126,178 |
| Few Secondary Structures | 6,034 |
| Special | 4,812 |

Sequence length ranges from 9 to 1,275 amino acids, with a median length of 140.

## Load With `datasets`

```python
from datasets import load_dataset

ds = load_dataset("LiteFold/CATH")
print(ds)

train = ds["train"]
test = ds["test"]

print(train[0])
```

Load one split directly:

```python
from datasets import load_dataset

train = load_dataset("LiteFold/CATH", split="train")
test = load_dataset("LiteFold/CATH", split="test")
```

Stream rows without downloading the full dataset first:

```python
from datasets import load_dataset

streamed = load_dataset("LiteFold/CATH", split="train", streaming=True)
first_row = next(iter(streamed))
```

Filter to one of the CATH nonredundant representative subsets:

```python
from datasets import load_dataset

ds = load_dataset("LiteFold/CATH", split="train")
s35_train = ds.filter(lambda row: row["in_s35_nonredundant_subset"])
```

## Main Columns

| Column | Description |
|---|---|
| `domain_id` | CATH domain identifier, for example `1oaiA00`. |
| `pdb_id`, `chain_id`, `pdb_chain_id` | Parsed PDB and chain identifiers. |
| `cath_version` | CATH release version from the FASTA headers. |
| `cath_code` | Full CATH classification code at homologous superfamily level. |
| `class_*`, `architecture_*`, `topology_*`, `homologous_superfamily_*` | Numeric codes, full hierarchy codes, names, and example domains. |
| `s35_cluster_id`, `s60_cluster_id`, `s95_cluster_id`, `s100_cluster_id` | CATH sequence cluster identifiers from the domain list. |
| `s35_cluster_key` | Composite key used for leakage-aware splitting. |
| `domain_length` | Domain length from the CATH domain list. |
| `raw_structure_resolution_angstrom` | Original structure resolution value. |
| `structure_resolution_angstrom` | Resolution with CATH's `999.000` unknown sentinel converted to null. |
| `sequence` | Amino acid sequence from `cath-domain-seqs.fa`. |
| `sequence_length` | Length of `sequence`. |
| `sequence_range` | Source FASTA residue range, including discontinuous ranges such as `2-78_187-208`. |
| `sequence_range_start`, `sequence_range_end` | Parsed min start and max end residue positions when available. |
| `sequence_segment_count` | Number of underscore-separated residue segments in `sequence_range`. |
| `in_s35_nonredundant_subset`, `in_s60_nonredundant_subset`, `in_s95_nonredundant_subset`, `in_s100_nonredundant_subset` | Whether the domain appears in the corresponding CATH nonredundant subset list. |

## Source Files Used

- `cath-domain-list.txt`
- `cath-domain-list-S35.txt`
- `cath-domain-list-S60.txt`
- `cath-domain-list-S95.txt`
- `cath-domain-list-S100.txt`
- `cath-domain-seqs.fa`
- `cath-names.txt`

The raw PDB tarball remains in the repository, but it is not embedded in the Parquet table.

# Citation

```
@article{sillitoe2021cath,
  title   = {{CATH}: increased structural coverage of functional space},
  author  = {Sillitoe, Ian and Bordin, Nicola and Dawson, Natalie and others},
  journal = {Nucleic Acids Research},
  volume  = {49},
  number  = {D1},
  pages   = {D266--D273},
  year    = {2021},
  doi     = {10.1093/nar/gkaa1079}
}
```