Datasets:
seq stringlengths 40 128 | coords listlengths 40 128 | name stringlengths 6 6 | cath listlengths 1 5 | mask listlengths 40 128 | length int64 40 128 | n_resolved int64 32 128 |
|---|---|---|---|---|---|---|
RYPDLDAKGRERAIAKDLGAVFLVGIGGKLSDGHRHDVRAPDYDDWSTPSELGHAGLNGDILVWNPVLEDAFELSSMGIRVDADTLKHQLALTGDEDRLELEWHQALLRGEMPQTIGGGIGQSRLTML | [
[
[
-15.757940292358398,
-9.474711418151855,
-0.9151945114135742
],
[
-16.855939865112305,
-9.183712005615234,
0.01780557632446289
],
[
-17.785940170288086,
-8.046711921691895,
-0.4371943473815918
],
[
-18.901939392089844,
... | 12as.A | [
"3.30.930"
] | [
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true... | 128 | 128 |
VFGRCELAAAMKRHGLDNYRGYSLGNWVCAAKFESNFNTQATNRNTDGSTDYGILQINSRWWCNDGRTPGSRNLCNIPCSALLSSDITASVNCAKKIVSDGNGMNAWVAWRNRCKGTDVQAWIRGCRL | [
[
[
-10.97154712677002,
-0.13005638122558594,
-9.623542785644531
],
[
-10.222546577453613,
-1.373056411743164,
-9.575542449951172
],
[
-9.199546813964844,
-1.3310556411743164,
-10.672542572021484
],
[
-9.518546104431152,
-... | 132l.A | [
"1.10.530"
] | [
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true... | 128 | 128 |
KVGEKLCVEPAVIAGIISRESHAGKVLKNGWGDRGNGFGLMQVDKRSHKPQGTWNGEVHITQGTTILINFIKTIQKKFPSWTKDQQLKGGISAYNAGAGNVRSYARMDIGTTHDDYANDVVARAQYYK | [
[
[
-1.1989936828613281,
-8.48379898071289,
13.923824310302734
],
[
0.0010061264038085938,
-8.245798110961914,
14.72982406616211
],
[
0.8290061950683594,
-7.084798812866211,
14.171825408935547
],
[
1.2110061645507812,
-6.1... | 153l.A | [
"1.10.530"
] | [
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true... | 128 | 128 |
NEGDAAKGEKEFNKCKACHMIQAPDGTDIKGGKTGPNLYGVVGRKIASEEGFKYGEGILEVAEKNPDLTWTEANLIEYVTDPKPLVKKMTDDKGAKTKMTFKMGKNQADVVAFLAQDDPDAXXXXXXX | [
[
[
-16.996135711669922,
3.2034549713134766,
8.74557876586914
],
[
-14.876136779785156,
2.8354549407958984,
9.374578475952148
],
[
-15.149136543273926,
1.3334541320800781,
9.478578567504883
],
[
-14.220136642456055,
0.5144... | 155c.A | [
"1.10.760"
] | [
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true... | 128 | 128 |
GKSKCEESKLEFARSLLKKAEDRKVQVILPIDHVCHTEFKAVDSPLITEDQNIPEGHMALDIGPKTIEKYVQTIGKCKSAIWNGPMGVFEMVPYSKGTFAIAKAMGRGTHEHGLMSIIGGGDSASAAE | [
[
[
0.5564918518066406,
8.630149841308594,
-14.584602355957031
],
[
1.7934913635253906,
9.30514907836914,
-14.935602188110352
],
[
2.8894920349121094,
8.348148345947266,
-15.357601165771484
],
[
2.664491653442383,
7.460151... | 16pk.A | [
"3.40.50"
] | [
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true... | 128 | 128 |
AYAEQMMRPDLFDCLCCDLESWRQLAGLFQPFMFVNGALTVRGVPIEARRLRELNHIREHLNLPLVRSAATEEPGAPLTTPPTLHGNQARASGYFMVLIRAKLDSYSSFTTSPSEAVMREHAYSRAPT | [
[
[
-9.154074668884277,
-5.237242698669434,
11.889602661132812
],
[
-9.734074592590332,
-5.740242958068848,
10.631601333618164
],
[
-8.832074165344238,
-6.770242691040039,
9.919601440429688
],
[
-9.32807445526123,
-7.70024... | 16vp.A | [
"1.10.1290"
] | [
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true... | 128 | 108 |
"PVRGRCAALRMLLADQGQSWKEEVVTVETWQEGSLKASCLYGQLPAFQDGDLTLYQSNTILRHLGRTLGLYGKDQQEAALVDMVNDGVEDLRCKYISLI(...TRUNCATED) | [[[-7.79875373840332,-5.482569694519043,11.543550491333008],[-7.434754371643066,-6.8815693855285645,(...TRUNCATED) | 17gs.A | [
"1.20.1050",
"3.40.30"
] | [true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true(...TRUNCATED) | 128 | 128 |
"SSGSVFITLKKYDGRTKPIPRKSSVEGLEPAENKCLLRATDGKRKISTVVSSKEVNKFQMAYSNLLRANMDGLKKRDKKNKSKKSKPAQGGEQKLISEE(...TRUNCATED) | [[[-12.613334655761719,-9.186405181884766,-16.053239822387695],[-12.625335693359375,-10.175407409667(...TRUNCATED) | 1914.A | [
"3.30.720"
] | [true,true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,fals(...TRUNCATED) | 128 | 91 |
"NVDEVGGEALGRLLVVYPYTQRFFESFGDLSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLHVDPENFRLLGNVLVCVLAHH(...TRUNCATED) | [[[-1.2510986328125,1.8540496826171875,-14.098889350891113],[-1.2300949096679688,0.3750495910644531,(...TRUNCATED) | 1a00.B | [
"1.10.490"
] | [true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true(...TRUNCATED) | 128 | 128 |
MKRRIRRERNKMAAAKSRNRRRELTDTLQAETDQLEDEKSALQTEIANLLKEKEKL | [[[0.0,0.0,0.0],[0.0,0.0,0.0],[0.0,0.0,0.0],[0.0,0.0,0.0]],[[0.0,0.0,0.0],[0.0,0.0,0.0],[0.0,0.0,0.0(...TRUNCATED) | 1a02.F | [
"1.20.5"
] | [false,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,tr(...TRUNCATED) | 56 | 53 |
CATH 4.3 protein backbones, cropped to 128 residues
Protein backbone coordinates prepared for generative modelling (CIS 6270 project, modality 2). Every chain is cropped to a fixed 128-residue window, unresolved residues carry an explicit mask, and coordinates are centred on the resolved alpha carbons.
from datasets import load_dataset
ds = load_dataset("ajiang2025/cath-4.3-backbone")
| Split | Chains | Purpose |
|---|---|---|
train |
16,691 | fit the model |
validation |
1,528 | tune, select, early-stop |
test |
1,880 | report once, at the end |
What is in a row
| Column | Type | Meaning |
|---|---|---|
name |
string | source chain, e.g. 12as.A |
cath |
list of string | CATH superfamily codes, e.g. ["3.30.930"] |
seq |
string | amino-acid sequence of the cropped window |
coords |
[L, 4, 3] float |
backbone coordinates in Angstrom, atom order N, CA, C, O |
mask |
[L] bool |
True where the residue is resolved |
length |
int | residues in the window (<= 128) |
n_resolved |
int | number of True entries in mask |
import numpy as np
r = ds["train"][0]
coords = np.array(r["coords"]) # [L, 4, 3]
mask = np.array(r["mask"]) # [L]
ca = coords[mask][:, 1] # resolved alpha carbons
Scope: chains, not domains
This holds roughly 20,000 chains, not CATH 4.3's ~151,000 classified domains. The splits come from the ESM inverse-folding data split (Ingraham et al., 2019), where chains are clustered at 40% sequence identity for redundancy reduction. That is the standard benchmark partition used by ProteinMPNN, GVP and ESM-IF, so results here are comparable to those papers. The full domain set is not on the Hub and would have to come from CATH's own FTP.
Processing
Derived from cctien/protein_backbone_cath_4.3
(CC-BY-4.0). Three changes, each for a concrete reason:
- Unresolved residues. The source stores them as
[None, None, None]. The arrays still line up with the sequence, so lengths look correct while the values are null — feeding them forward produces NaN losses with no error. Here they are zeros plus an explicit booleanmask. A residue is marked unresolved if any of its four backbone atoms is missing. - Cropping to 128 residues. Chains run to several hundred residues, and pairwise operations
scale as
N^2. Windows are chosen at random, preferring one that starts on a resolved residue. Set--crop 0in the preparation script to keep full chains. - Centring. Each window is centred on the mean of its resolved CA atoms only. Including the zeroed-out unresolved positions in that mean would shift the chain by an amount depending on how much structure happens to be missing.
Chains with fewer than 32 resolved residues after cropping are dropped (8 of 20,110).
Resolved fraction after processing: train 96.4%, validation 96.4%, test 95.2%.
Sanity check
Consecutive alpha carbons in a real backbone sit about 3.8 A apart. In this dataset the median is 3.80 A, which is the quickest way to confirm a crop or mask has not scrambled the geometry:
import numpy as np
r = ds["validation"][0]
ca = np.array(r["coords"])[np.array(r["mask"])][:, 1]
print(np.median(np.linalg.norm(np.diff(ca, axis=0), axis=-1))) # ~3.80
Attribution
- CATH: Sillitoe et al., CATH: increased structural coverage of functional space, Nucleic Acids Research 2021. https://www.cathdb.info/
- Split: Ingraham, Garg, Barzilay & Jaakkola, Generative Models for Graph-Based Protein Design, NeurIPS 2019; as distributed with ESM inverse folding.
- Immediate source:
cctien/protein_backbone_cath_4.3, CC-BY-4.0.
Redistributed under CC-BY-4.0.
- Downloads last month
- 44