HyPLM_step2 / DATA_CARD.md
ittsleep's picture
Add the L1 structure-label dataset
c0c0325 verified
|
Raw History Blame Contribute Delete
4.1 kB

Structure dataset for HyPLM stage 2 (v1.0)

Created: 2026-11-17

What this is

Per-residue structure labels for protein chains, derived from AlphaFold structures and aligned to the chain sequences used in stage 1.

Columns

column type meaning
accession string the UniProt accession the structure came from
sequence string the AFDB label sequence (the AFDB sequence field)
length int32 the true chain length; the per-residue columns are padded to the shard size
mask bool[L] keep-mask; False where pLDDT < 70.0 or where the row is padding
ss int8[L] secondary structure: 0 coil, 1 helix, 2 strand; -1 masked
tdi int8[L] 3Di state 0..19; -1 masked
plddt float16[L] per-residue AlphaFold pLDDT
cb_dist int8[L*L] C-beta distance bucket indices, flattened row-major; -1 masked

Labels

Secondary structure

Three states, assigned with biotite's P-SEA implementation (annotate_sse), which uses CA coordinates only: 0 coil, 1 helix, 2 strand.

3Di

20 states, produced by foldseek structureto3didescriptor --db-extraction-mode 0 (chain mode, matching the HyPLM paper). The alphabet is ACDEFGHIKLMNPQRSTVWY.

C-beta distance

The pairwise C-beta distance matrix, stored as bucket indices. Glycine has no C-beta, so its C-alpha is used instead. The bucket edges are in Angstrom:

0.0, 2.0, 3.0, 4.0, 5.0, 6.0, 6.5, 7.0, 7.5, 8.0, 9.0, 10.0, 12.0, 14.0, 16.0, 20.0, 24.0, 30.0, 40.0, 64.0

A bucket index b means the distance lies in [0.0, 2.0), 2.0, 3.0), and so on. There are 19 buckets, and one edge sits exactly at 8.0 A so that the contact threshold is exactly representable.

Contact rule: a residue pair is a contact iff its bucket index is at or below 8 (that is, the distance is below 8.0 A). This is the paper's own definition: contacts are residue pairs whose C-beta atoms are closer than 8.0 A.

Masking

Masking is at the residue level. A residue whose pLDDT is below 70.0 is masked: its ss and tdi are -1, and its whole row and column of cb_dist are -1. Padding uses the same -1 value, and the mask column tells the two apart together with length.

Source and provenance

  • Structures: AlphaFold Protein Structure Database (AFDB), model v6
  • Sequences: UniRef90 2023 shards (uniref23/shards_out)
  • CIF template: https://alphafold.ebi.ac.uk/files/AF-{accession}-F1-model_v6.cif

Leakage removal

Chains matching a test-set sequence with an MMseqs2 E-value at or below 0.001 and a sequence identity at or above 30% are removed whole-chain.

  • chains before removal: 38,353
  • chains removed: 3,807 (9.93%)
  • chains after removal: 34,546

Test sets

dataset version sequences fetched url
ProteinGym substitutions reference 1.3 217 2026-11-16 https://zenodo.org/records/15293562/files/DMS_substitutions.csv?download=1
ProteinGym clinical reference 1.3 2525 2026-11-16 https://zenodo.org/records/15293562/files/clinical_substitutions.csv?download=1

Statistics

metric value
chains 34,546
shards 146
size 1.16 GB
length min / median / max 50 / 273 / 1024
total residues 10,720,895
kept residues 9,258,121 (86.4%)
pLDDT mean / median 85.6 / 92.9

Known limitations

  • The structures are AlphaFold predictions, not experiments. The pLDDT mask is the only confidence signal; there is no experimental structure channel.
  • The label sequence comes from the AFDB sequence field, which was built from a 2022 UniProt snapshot, while the sequences themselves come from UniRef90 2023. The two differ for roughly 0.5% of accessions, and those are dropped by the sequence consistency check rather than shipped.
  • The secondary structure comes from P-SEA, which differs slightly from the original P-SEA software in some cases.
  • The test sets used for leakage removal were collected independently because the paper does not name them, so the leakage filter may be narrower or broader than the paper's own.