TECHNOLOGY

PDB residue numbers: author identifiers are not tensor row positions

In this article
THE QUICK TAKE

Author numbering, sequence numbering and the rows of observed coordinates can identify different positions; residue labels need a traceable mapping among them.

Identify the numbering system before joining

The PDB primary-sequence guide distinguishes sequential numbering and author-provided residue numbering. A site annotation from a paper may use a different identifier system from a model’s coordinate tensor. Record that system before joining labels. Subtracting a constant offset can appear to work on one structure while failing on another containing insertions, omissions or a different construct. A correct residue type at one inspected position does not validate the entire mapping.

Preserve author identifiers as identifiers

The author-number dictionary defines the author residue identifier. Treat it with its chain and insertion context rather than forcing it into a globally unique numeric row key. Repeated-looking numbers can have different meanings in different chains or insertion positions. A lossy conversion that discards those fields may merge distinct residues before the model ever receives the structure.

Keep sequence numbering separate from coordinate rows

The label-number dictionary defines the sequence-oriented identifier used in the coordinate schema. A graph loader may still retain only residues with selected observed atoms. Its compact row positions therefore require a separate mapping. Missing coordinate observations should not cause all subsequent sequence annotations to shift onto neighboring residues. Preserve a missing-coordinate state rather than treating absence from the compact tensor as absence from the underlying polymer sequence.

Resolve atom selection and alternative locations explicitly

Building one node per residue requires a rule for atom selection and any alternative coordinate states. Apply that rule before constructing the final residue-to-node map. Otherwise a table built from all atom rows can disagree with the reduced graph after filtering. For an inspection entry, trace an annotated residue through chain, sequence identifier, author identifier and selected coordinate row. Validate the semantic association, not merely that the selected tensor index is within bounds.

Export the mapping with the model examples

Keep residue keys and mapping tables alongside graph tensors, predicted labels and visualizations. A later report should be able to recover the original residue identity from every model output. The existing coordinate guide and entity-group guide support related geometry and identity checks. A protein-site benchmark becomes interpretable only when predictions can be attached to the intended biological positions without guessing which numbering convention an intermediate tool used.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles