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
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 usedrmsd_A0 ± 1e-090lockedunder 0.01 % of the tolerance usedgdt_ts_pct100 ± 1e-09100lockedunder 0.01 % of the tolerance usedgdt_ha_pct100 ± 1e-09100lockedunder 0.01 % of the tolerance usedd0_A3.65207 ± 3.7e-093.65207lockedunder 0.01 % of the tolerance usedn_matched100100lockedr0002rotated (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 usedtm_score_least_squares_frame1 ± 1e-091lockedunder 0.01 % of the tolerance usedrmsd_A0 ± 1e-091.87365e-14lockedunder 0.01 % of the tolerance usedgdt_ts_pct100 ± 1e-09100lockedunder 0.01 % of the tolerance usedr0003every 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 usedgdt_ts_pct50 ± 1e-0950lockedunder 0.01 % of the tolerance usedgdt_ha_pct25 ± 1e-0925lockedunder 0.01 % of the tolerance usedrmsd_frame_A3.65207 ± 3.7e-093.65207lockedunder 0.01 % of the tolerance usedtm_score_least_squares_frame1 ± 1e-091lockedunder 0.01 % of the tolerance usedr0004half 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 usedgdt_ts_pct50 ± 1e-0950lockedunder 0.01 % of the tolerance usedwithin_8A_pct50 ± 1e-0950lockedunder 0.01 % of the tolerance usedr0005normalised 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 usedgdt_ts_pct50 ± 1e-0950lockedunder 0.01 % of the tolerance usedd0_A5.26554 ± 5.3e-095.26554lockedunder 0.01 % of the tolerance usedr0006PDB 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 usedgdt_ts_pct80 ± 1e-0980lockedunder 0.01 % of the tolerance usedrmsd_A0 ± 1e-092.07469e-15lockedunder 0.01 % of the tolerance usedn_matched2424lockedn_reference3030lockedd0_A1.2581 ± 1.3e-091.2581lockedunder 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 |
|---|---|---|---|
reference_file | Reference structure, PDB or mmCIF (first model). | ||
reference_text | Reference 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_resnums | 1 | Residue numbers for reference_xyz. | |
reference_chain | Chain of the reference to use; empty = every chain. | ||
model_file | Model structure, PDB or mmCIF (first model). | ||
model_text | Model 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_resnums | 1 | Residue numbers for model_xyz. | |
model_chain | Chain of the model to use; empty = every chain. | ||
superposition | tm_search | tm_search: the superposition that maximises TM (heuristic search); kabsch: least-squares on all pairs; none: coordinates as given. | |
norm_length | 1 | 0 | Length L that normalises the score and sets d0; 0 = the reference length. Not below the matched residues. |
d0_A | Å | 0 | Override of d0; 0 = 1.24 (L - 15)^(1/3) - 1.8 Å, floored at 0.5 Å. |
tm_threshold | 1 | 0.5 | TM-score at or above which the pair is called the same fold (0.5 is the usual line). |
Readings
| Name | Unit | Meaning |
|---|---|---|
tm_score | 1 | TM-score normalised by norm_length, in the scoring frame. |
above_threshold | tm_score >= tm_threshold. | |
tm_threshold | 1 | |
d0_A | Å | |
d0_source | formula, floor 0.5 Å, or input. | |
norm_length | 1 | |
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_frame | 1 | |
gdt_ts_pct | % | |
gdt_ha_pct | % | |
within_0p5A_pct | % | |
within_1A_pct | % | |
within_2A_pct | % | |
within_4A_pct | % | |
within_8A_pct | % | |
n_reference | 1 | |
n_model | 1 | |
n_matched | 1 | |
coverage | 1 | |
max_distance_A | Å | |
mean_distance_A | Å | |
rotation | 1 | 3x3 rotation applied to the model (row-major). |
translation_A | Å | |
superposition | ||
paired_by | ||
search_starts | 1 | |
frames_scored | 1 | |
warnings | ||
files | out/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.