Invntr
Source

All instruments

tm_score

TM-score, GDT-TS/GDT-HA and RMSD between two protein structures: CA atoms from PDB or mmCIF text, a staged file or coordinate lists, paired by residue number; TM-maximising superposition (fragment-seeded search after Zhang & Skolnick 2004), least-squares or none; d0 = 1.24 (L - 15)^(1/3) - 1.8 Å; score normalised by the reference length; per-residue distances.

Field
Structural biology
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
0.2 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replaytm_score 0.1.0 · files d0011f51aea4…c384
  1. r0001identical structures, 100 CA (Zhang & Skolnick 2004 definition): TM = 1, RMSD = 0, GDT-TS = GDT-HA = 100, d0(100) = 1.24*85^(1/3) - 1.8; tol 1e-9 (exact arithmetic)passed

    tm_score1 ± 1e-091lockedunder 0.01 % of the tolerance used
    rmsd_A0 ± 1e-090lockedunder 0.01 % of the tolerance used
    gdt_ts_pct100 ± 1e-09100lockedunder 0.01 % of the tolerance used
    gdt_ha_pct100 ± 1e-09100lockedunder 0.01 % of the tolerance used
    d0_A3.65207 ± 3.7e-093.65207lockedunder 0.01 % of the tolerance used
    n_matched100100locked
  2. r0002rotated (37 deg about (1,2,3)) and translated copy (rigid-motion invariance): TM = 1, RMSD = 0, GDT-TS = 100; tol 1e-9 (eigen-solver round-off ~1e-14)passed

    tm_score1 ± 1e-091lockedunder 0.01 % of the tolerance used
    tm_score_least_squares_frame1 ± 1e-091lockedunder 0.01 % of the tolerance used
    rmsd_A0 ± 1e-091.87365e-14lockedunder 0.01 % of the tolerance used
    gdt_ts_pct100 ± 1e-09100lockedunder 0.01 % of the tolerance used
  3. r0003every pair at distance d0 in a fixed frame (definition: 1/(1+1) per residue): TM = 1/2, GDT-TS = 50, GDT-HA = 25, frame RMSD = d0; least-squares frame removes the shift (TM = 1); tol 1e-9passed

    tm_score0.5 ± 1e-090.5lockedunder 0.01 % of the tolerance used
    gdt_ts_pct50 ± 1e-0950lockedunder 0.01 % of the tolerance used
    gdt_ha_pct25 ± 1e-0925lockedunder 0.01 % of the tolerance used
    rmsd_frame_A3.65207 ± 3.7e-093.65207lockedunder 0.01 % of the tolerance used
    tm_score_least_squares_frame1 ± 1e-091lockedunder 0.01 % of the tolerance used
  4. r0004half the residues moved 1000 A away (definition): TM = 1/2 + 1/2/(1 + (1000/d0)^2) = 0.5000067, GDT-TS = 50; tol 1e-9 rel (the true optimum lies higher only at second order, ~1e-14)passed

    tm_score0.500007 ± 5e-100.500007lockedunder 0.01 % of the tolerance used
    gdt_ts_pct50 ± 1e-0950lockedunder 0.01 % of the tolerance used
    within_8A_pct50 ± 1e-0950lockedunder 0.01 % of the tolerance used
  5. r0005normalised by a longer length (definition): 100 identical CA, norm_length = 200 -> TM = 100/200 = 0.5, GDT-TS = 50, d0(200) = 1.24*185^(1/3) - 1.8; tol 1e-9passed

    tm_score0.5 ± 1e-090.5lockedunder 0.01 % of the tolerance used
    gdt_ts_pct50 ± 1e-0950lockedunder 0.01 % of the tolerance used
    d0_A5.26554 ± 5.3e-095.26554lockedunder 0.01 % of the tolerance used
  6. r0006PDB text, model has 24 of 30 reference residues, rotated 90 deg + translated, calcium ion named CA ignored (definition: missing residues score 0): TM = 24/30 = 0.8, GDT-TS = 80, d0(30) = 1.24*15^(1/3) - 1.8; tol 1e-9 (coordinates exact in 3 decimals)passed

    tm_score0.8 ± 1e-090.8lockedunder 0.01 % of the tolerance used
    gdt_ts_pct80 ± 1e-0980lockedunder 0.01 % of the tolerance used
    rmsd_A0 ± 1e-092.07469e-15lockedunder 0.01 % of the tolerance used
    n_matched2424locked
    n_reference3030locked
    d0_A1.2581 ± 1.3e-091.2581lockedunder 0.01 % of the tolerance used
6 of 6 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
reference_fileReference structure, PDB or mmCIF (first model).
reference_textReference structure as PDB or mmCIF text.
reference_xyzÅReference CA coordinates [[x, y, z], ...] in Å, used instead of text or file; numbered 1, 2, 3, ... unless reference_resnums is given.
reference_resnums1Residue numbers for reference_xyz.
reference_chainChain of the reference to use; empty = every chain.
model_fileModel structure, PDB or mmCIF (first model).
model_textModel structure as PDB or mmCIF text.
model_xyzÅModel CA coordinates [[x, y, z], ...] in Å, used instead of text or file; numbered 1, 2, 3, ... unless model_resnums is given.
model_resnums1Residue numbers for model_xyz.
model_chainChain of the model to use; empty = every chain.
superpositiontm_searchtm_search: the superposition that maximises TM (heuristic search); kabsch: least-squares on all pairs; none: coordinates as given.
norm_length10Length L that normalises the score and sets d0; 0 = the reference length. Not below the matched residues.
d0_AÅ0Override of d0; 0 = 1.24 (L - 15)^(1/3) - 1.8 Å, floored at 0.5 Å.
tm_threshold10.5TM-score at or above which the pair is called the same fold (0.5 is the usual line).

Readings

NameUnitMeaning
tm_score1TM-score normalised by norm_length, in the scoring frame.
above_thresholdtm_score >= tm_threshold.
tm_threshold1
d0_AÅ
d0_sourceformula, floor 0.5 Å, or input.
norm_length1
rmsd_AÅRMSD over the matched pairs after least-squares superposition.
rmsd_frame_AÅRMSD over the matched pairs in the scoring frame.
tm_score_least_squares_frame1
gdt_ts_pct%
gdt_ha_pct%
within_0p5A_pct%
within_1A_pct%
within_2A_pct%
within_4A_pct%
within_8A_pct%
n_reference1
n_model1
n_matched1
coverage1
max_distance_AÅ
mean_distance_AÅ
rotation13x3 rotation applied to the model (row-major).
translation_AÅ
superposition
paired_by
search_starts1
frames_scored1
warnings
filesout/per_residue.csv (distance and TM term per residue), out/distance_cutoff_curve.csv (share of the reference within 0.5 to 10 Å).

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