Invntr
Source

All instruments

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

Admission replaybackbone_build 0.1.0 · files 4d83c95b11a1…cd04
  1. 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}
  2. 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 range
    max_bond_error_A0 to 1e-098.88178e-16lockedinside the range
    max_angle_error_deg0 to 1e-092.84217e-14lockedinside the range
    built.phi_deg.4{"value": 60.0, "abs_tol": 1e-09}
    built.omega_deg.3{"value": 0.0, "abs_tol": 1e-09}
  3. 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 used
    rise_A1.5 ± 0.061.55135locked86 % of the tolerance used
    handedness= rightrightlockedexact match
  4. r0004alpha 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 used
    residues_per_turn3.61907 ± 3.6e-093.61907lockedunder 0.01 % of the tolerance used
    rise_A1.55135 ± 1.6e-091.55135lockedunder 0.01 % of the tolerance used
    pitch_A5.61446 ± 5.6e-095.61446lockedunder 0.01 % of the tolerance used
  5. r0005polyproline 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 match
    rotation_per_residue_deg-120.305 ± 1.2e-07-120.305lockedunder 0.01 % of the tolerance used
    residues_per_turn2.99239 ± 3e-092.99239lockedunder 0.01 % of the tolerance used
    rise_A3.07879 ± 3.1e-093.07879lockedunder 0.01 % of the tolerance used
  6. r0006fully 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 used
    residues_per_turn2 ± 2e-092lockedunder 0.01 % of the tolerance used
    end_to_end_A32.8014 ± 3.3e-0832.8014lockedunder 0.01 % of the tolerance used
    rg_ca_A10.4768 ± 1e-0810.4768lockedunder 0.01 % of the tolerance used
  7. r0007cis 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 used
    rg_ca_A1.38569 ± 1.4e-091.38569lockedunder 0.01 % of the tolerance used
7 of 7 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

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

NameUnitDefaultMeaning
sequenceAEAAAKEAAAKEAAAKAOne-letter amino acid codes, 2 to 500 residues. Only the backbone is built; the letters name the residues in the PDB.
presetalpha_helixTextbook (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_degdegphi = C(i-1)-N-CA-C, IUPAC sign; only with preset custom.
psi_degdegpsi = N-CA-C-N(i+1); only with preset custom.
omega_degdeg180omega = CA-C-N(i+1)-CA(i+1): 180 trans, 0 cis.
phi_list_degdegOne phi per residue (the first is unused); overrides the preset.
psi_list_degdegOne psi per residue (sets O of the last residue too); overrides the preset.
omega_list_degdegOne omega per residue (the last is unused); overrides omega_deg.
bond_n_ca_AÅ1.458Ideal N-CA bond length (Engh and Huber 1991).
bond_ca_c_AÅ1.525Ideal CA-C bond length.
bond_c_n_AÅ1.329Ideal peptide C-N bond length.
bond_c_o_AÅ1.231Ideal carbonyl C=O bond length.
angle_n_ca_c_degdeg111.0Ideal N-CA-C angle (tau).
angle_ca_c_n_degdeg116.2Ideal CA-C-N angle.
angle_c_n_ca_degdeg121.7Ideal C-N-CA angle.
angle_ca_c_o_degdeg120.8Ideal CA-C=O angle; O lies in the peptide plane, so O-C-N = 360 - CA-C-N - CA-C-O.

Readings

NameUnitMeaning
okgeometry_ok and clash_free.
geometry_okEvery bond, angle and dihedral measured back from the atoms is within 1e-6 of the request.
clash_freeNo two atoms of residues two or more apart closer than 2.2 Å (a gross steric clash).
n_residues1
n_atoms1
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_turn1
rotation_per_residue_degdegSigned: 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_degdeg
max_bond_error_AÅ
max_angle_error_degdeg
ca_ca_AShortest and longest consecutive CA-CA distance.
bond_lengths_Amin and max of each bond measured from the atoms: n_ca, ca_c, c_n, c_o.
bond_angles_degmin 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.
builtphi_deg, psi_deg, omega_deg per residue, measured from the atoms (null where undefined).
handednessright, left or none (a 2-fold screw or a straight chain); null when the chain is not regular.
regularphi, psi and omega are the same along the chain.
warnings
filesout/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.

Terminal
MCP call