Skip to main content

Module residue_constants

Module residue_constants 

Source
Expand description

Residue chemistry constants for structure prediction.

Core atom37/amino-acid constants live in ferritin_core::info::{atom37, amino_acids} and are re-exported here for backward compatibility.

Enums§

AAAtom
Typed atom37 slots; discriminants match ATOM37_NAMES indices.

Constants§

ATOM37_NAMES
Canonical atom37 names in slot order.
NUM_ATOM37
NUM_RESIDUES

Functions§

atom14_to_atom37_for_residue
For a residue given by its 3-letter code, return the atom37 slot index for each of the 14 atom14 positions, or None if that slot is unoccupied.
atom37_index
Returns the atom37 slot index for a named atom, or None if unknown.
atom_order
Map from atom name (e.g. "CA") to its atom37 slot index.
chi_angles_atoms
Sidechain chi-angle atom tuples for a residue given by 3-letter code.