Expand description
Canonical 37-slot heavy-atom representation and atom-name lookups.
The atom37 scheme is the standard representation used by ESMFold, AlphaFold2,
and related models: every amino acid is represented with up to 37 possible
heavy-atom positions, each at a fixed slot index defined by ATOM37_NAMES.
§Key items
NUM_ATOM37/NUM_RESIDUES— dimension constantsATOM37_NAMES— canonical name→slot mapping (array)atom_order—HashMapversion of the same mappingatom37_index— slot lookup by atom nameAAAtom— typed enum mirroring the slot indices
Structs§
- AAAtom
Iter - An iterator over the variants of AAAtom
Enums§
- AAAtom
- Typed atom37 slots; discriminants match
ATOM37_NAMESindices.
Constants§
- ATOM37_
NAMES - Canonical atom37 names in slot order.
- NUM_
ATOM37 - NUM_
RESIDUES
Functions§
- atom37_
index - Returns the atom37 slot index for a named atom, or
Noneif unknown. - atom_
order - Map from atom name (e.g.
"CA") to its atom37 slot index.