backbone_build
Builds a protein backbone (N, CA, C, O) from a sequence and phi, psi, omega with ideal bond lengths and angles (internal coordinates, NeRF placement). Writes a PDB, measures every bond, angle and dihedral back from the atoms, and reports end-to-end distance, radius of gyration and, for a regular chain, the exact helix screw: rise, residues per turn, handedness. Presets: alpha helix, 3-10 helix, beta strand, polyproline II, extended.
- Field
- Structural biology
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 0.05 s
Compiled from source: run sh packs/install.sh once before admitting it.
Known answers it must pass
r0001CA-CA = 3.803955 A for trans omega whatever phi and psi: 1-4 distance law d^2 = l1^2+l2^2+l3^2-2l1l2cos(a1)-2l2l3cos(a2)+2l1l3(cos(a1)cos(a2)-sin(a1)sin(a2)cos(omega)), omega=180 (rel 1e-9, double precision); O-C-N = 360-116.2-120.8 = 123 deg (planar sp2 carbon)passed
ca_ca_A.min{"value": 3.803954938363983, "rel_tol": 1e-09}ca_ca_A.max{"value": 3.803954938363983, "rel_tol": 1e-09}bond_angles_deg.o_c_n.min{"value": 123.0, "rel_tol": 1e-09}bond_angles_deg.o_c_n.max{"value": 123.0, "rel_tol": 1e-09}r0002dihedrals measured back from the atoms equal the inputs, bond lengths and angles equal the ideal values (exact: error 0, bound 1e-9 for rounding over 12 residues), with a cis omega in the chainpassed
max_dihedral_error_deg0 to 1e-092.84217e-14lockedinside the rangemax_bond_error_A0 to 1e-098.88178e-16lockedinside the rangemax_angle_error_deg0 to 1e-092.84217e-14lockedinside the rangebuilt.phi_deg.4{"value": 60.0, "abs_tol": 1e-09}built.omega_deg.3{"value": 0.0, "abs_tol": 1e-09}r0003alpha helix (-57, -47): textbook (Pauling; Branden & Tooze) 3.6 residues per turn, 1.5 A rise, right-handed. Tolerance 0.05 / 0.06: the textbook figures are two-figure roundings for slightly different bond geometry; the exact screw for this geometry is the next casepassed
residues_per_turn3.6 ± 0.053.61907locked38 % of the tolerance usedrise_A1.5 ± 0.061.55135locked86 % of the tolerance usedhandedness= rightrightlockedexact matchr0004alpha helix (-57, -47) exact screw: Denavit-Hartenberg product of the residue's three bond transforms, Chasles axis (cos theta = (tr R - 1)/2, rise = axis . translation), computed apart from the instrument: 99.472976 deg, 3.619073 residues per turn, 1.551353 A (rel 1e-9)passed
rotation_per_residue_deg99.473 ± 9.9e-0899.473lockedunder 0.01 % of the tolerance usedresidues_per_turn3.61907 ± 3.6e-093.61907lockedunder 0.01 % of the tolerance usedrise_A1.55135 ± 1.6e-091.55135lockedunder 0.01 % of the tolerance usedpitch_A5.61446 ± 5.6e-095.61446lockedunder 0.01 % of the tolerance usedr0005polyproline II (-75, 145) exact screw (Denavit-Hartenberg product, as above): left-handed, -120.305257 deg, 2.992388 residues per turn, 3.078790 A rise (rel 1e-9); textbook PPII is left-handed, 3.0 residues per turn, 3.1 Apassed
handedness= leftleftlockedexact matchrotation_per_residue_deg-120.305 ± 1.2e-07-120.305lockedunder 0.01 % of the tolerance usedresidues_per_turn2.99239 ± 3e-092.99239lockedunder 0.01 % of the tolerance usedrise_A3.07879 ± 3.1e-093.07879lockedunder 0.01 % of the tolerance usedr0006fully extended (180, 180, 180): planar zigzag by 2D turtle geometry, a 2-fold screw: rise = CA(i)-CA(i+2)/2 = 3.642566 A, 2 residues per turn, CA1-CA10 = 32.801422 A, Rg(CA) = 10.476824 A (rel 1e-9)passed
rise_A3.64257 ± 3.6e-093.64257lockedunder 0.01 % of the tolerance usedresidues_per_turn2 ± 2e-092lockedunder 0.01 % of the tolerance usedend_to_end_A32.8014 ± 3.3e-0832.8014lockedunder 0.01 % of the tolerance usedrg_ca_A10.4768 ± 1e-0810.4768lockedunder 0.01 % of the tolerance usedr0007cis peptide (omega = 0): CA-CA = 2.771384 A by the 1-4 distance law with omega = 0 (rel 1e-9); two residues: Rg(CA) = CA-CA / 2passed
ca_ca_A.min{"value": 2.7713840360595583, "rel_tol": 1e-09}end_to_end_A2.77138 ± 2.8e-092.77138lockedunder 0.01 % of the tolerance usedrg_ca_A1.38569 ± 1.4e-091.38569lockedunder 0.01 % of the tolerance used
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
sequence | AEAAAKEAAAKEAAAKA | One-letter amino acid codes, 2 to 500 residues. Only the backbone is built; the letters name the residues in the PDB. | |
preset | alpha_helix | Textbook (phi, psi): alpha_helix (-57, -47), helix_3_10 (-49, -26), beta_strand antiparallel (-139, 135), beta_parallel (-119, 113), polyproline_ii (-75, 145), extended (180, 180). custom takes phi_deg and psi_deg. | |
phi_deg | deg | phi = C(i-1)-N-CA-C, IUPAC sign; only with preset custom. | |
psi_deg | deg | psi = N-CA-C-N(i+1); only with preset custom. | |
omega_deg | deg | 180 | omega = CA-C-N(i+1)-CA(i+1): 180 trans, 0 cis. |
phi_list_deg | deg | One phi per residue (the first is unused); overrides the preset. | |
psi_list_deg | deg | One psi per residue (sets O of the last residue too); overrides the preset. | |
omega_list_deg | deg | One omega per residue (the last is unused); overrides omega_deg. | |
bond_n_ca_A | Å | 1.458 | Ideal N-CA bond length (Engh and Huber 1991). |
bond_ca_c_A | Å | 1.525 | Ideal CA-C bond length. |
bond_c_n_A | Å | 1.329 | Ideal peptide C-N bond length. |
bond_c_o_A | Å | 1.231 | Ideal carbonyl C=O bond length. |
angle_n_ca_c_deg | deg | 111.0 | Ideal N-CA-C angle (tau). |
angle_ca_c_n_deg | deg | 116.2 | Ideal CA-C-N angle. |
angle_c_n_ca_deg | deg | 121.7 | Ideal C-N-CA angle. |
angle_ca_c_o_deg | deg | 120.8 | Ideal CA-C=O angle; O lies in the peptide plane, so O-C-N = 360 - CA-C-N - CA-C-O. |
Readings
| Name | Unit | Meaning |
|---|---|---|
ok | geometry_ok and clash_free. | |
geometry_ok | Every bond, angle and dihedral measured back from the atoms is within 1e-6 of the request. | |
clash_free | No two atoms of residues two or more apart closer than 2.2 Å (a gross steric clash). | |
n_residues | 1 | |
n_atoms | 1 | |
rise_A | Å | Shift along the helix axis per residue (exact screw of one residue onto the next); null when phi, psi, omega vary. |
residues_per_turn | 1 | |
rotation_per_residue_deg | deg | Signed: positive right-handed. |
pitch_A | Å | |
radius_ca_A | Å | Distance of CA from the helix axis. |
end_to_end_A | Å | CA(1) to CA(n). |
end_to_end_n_c_A | Å | N(1) to C(n). |
contour_ca_A | Å | Sum of consecutive CA-CA distances. |
rg_ca_A | Å | |
rg_backbone_A | Å | Radius of gyration of N, CA, C, O, unweighted. |
o_n_i3_A | Å | Mean O(i) to N(i+3): 3-10 helix hydrogen-bond distance. |
o_n_i4_A | Å | Mean O(i) to N(i+4): alpha helix hydrogen-bond distance. |
min_nonbonded_A | Å | Closest atoms of residues two or more apart. |
max_dihedral_error_deg | deg | |
max_bond_error_A | Å | |
max_angle_error_deg | deg | |
ca_ca_A | Shortest and longest consecutive CA-CA distance. | |
bond_lengths_A | min and max of each bond measured from the atoms: n_ca, ca_c, c_n, c_o. | |
bond_angles_deg | min and max of each bond angle measured from the atoms: n_ca_c, ca_c_n, c_n_ca, ca_c_o, o_c_n. | |
built | phi_deg, psi_deg, omega_deg per residue, measured from the atoms (null where undefined). | |
handedness | right, left or none (a 2-fold screw or a straight chain); null when the chain is not regular. | |
regular | phi, psi and omega are the same along the chain. | |
warnings | ||
files | out/backbone.pdb (centred), out/residues.csv, out/atoms.csv, out/scene.glb |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.