Skip to content

Compare two protein structures using TM-score and RMSD, and visualize their 3D alignment interactively.

Notifications You must be signed in to change notification settings

BCBAUMBC/TM-Align3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 

Repository files navigation

TM-Align 3D

TM-Align 3D view 1

Sequence alignment

πŸ”— Launch Notebook

Open in Colab

Overview

This notebook has two primary functionalities:

  1. Structure Alignment and Comparison β€” Calculate TM-score and RMSD between two protein structures using ProDy and tmtools.
  2. 3D Visualization β€” Display aligned structures interactively with py3Dmol, using biopython for file handling and sequence parsing.

Our workflow guides users through three stages:

  • loading or fetching structures,
  • computing TM-score and RMSD for quantitative comparison, and
  • visualizing structural overlap in 3D.

We demonstrate the notebook with examples comparing the Human apo ferritin and a Bullfrog M ferritin to illustrate how TM-score and RMSD reflect global and local similarity between protein folds.


Metrics Explained

TM-score

  • A length-independent metric that measures the topological similarity between two protein structures.

  • Introduced by Yang Zhang & Jeffrey Skolnick (2005).
    "TM-align: a protein structure alignment algorithm based on the TM-score."
    Nucleic Acids Research, 33(7), 2302–2309.

  • Interpretation:

    • TM-score > 0.75 β†’ Indicates strong similarity
    • TM-score > 0.5 β†’ Generally indicates similar folds.
    • TM-score < 0.3 β†’ Typically indicates unrelated structures.
    image

RMSD (Root Mean Square Deviation)

  • Measures the average atomic deviation between equivalent atoms after optimal superposition.
  • Lower RMSD values indicate higher structural similarity.
  • Sensitive to local deviations, while TM-score captures global fold similarity.
image

Features

  • Compare any two PDB structures.
  • Compute TM-score and RMSD in seconds.
  • 3D visualization of aligned structures using interactive molecular viewers (e.g., py3Dmol.
  • Compare & visualize in monomer and multimer mode.
  • Sequence alignment.
  • Easy to test your own generated structures.

About

Compare two protein structures using TM-score and RMSD, and visualize their 3D alignment interactively.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •