
This toolkit is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.
Background
USalign (Zhang, Shine, Pyle, and Zhang, 2022) is a universal structure alignment platform that aligns monomer and complex structures of proteins, RNA, and DNA under a single Template Modeling (TM-score) objective. Multi-chain complexes are aligned jointly by combining residue-level structural alignment with a chain-to-chain mapping search, and nucleic acid residues are anchored on the C3’ backbone atom in place of the protein Cα. The published benchmark reports consistent advantages over state-of-the-art methods in pairwise and multiple structure alignment across these molecular types, and demonstrates that heterogeneous oligomeric complexes such as protein-RNA assemblies can be aligned within the same framework. The Template Modeling score (TM-score) (Zhang and Skolnick, 2004) is a length-independent measure of topological similarity between two structures. The score lies between 0 and 1, with 1 indicating identical structures. A subsequent statistical analysis (Xu and Zhang, 2010) established that a TM-score above 0.5 is a strong probabilistic indicator of shared SCOP and CATH fold classification for single-domain proteins, while scores below 0.17 are indistinguishable from random pairs (the random-pair distribution is centred near a TM-score of 0.15). The same 0.5 threshold is the convention used in the literature for multi-chain complex alignment, although the underlying statistical study was performed on monomers.Learning Resources
- pylelab/USalign (Pyle Lab, Yale University). The canonical distribution that bundles USalign together with TMalign, MMalign, and TMscore. This toolkit compiles the USalign program from this repository.
- Zhang Lab US-align page (Zhang Lab). Background documentation, command-line reference, and an online USalign web service maintained by the original developers.
Tools
USalign Structure Alignment (usalign-alignment)
Aligns two macromolecular structures with USalign and returns the Template Modeling score normalised by the length of each input structure. The tool takes a query and reference Structure, runs the compiled USalign program in multi-chain oligomeric mode (-mm 1 -ter 1), and reports tm_score_structure_1 (normalised by the query length) and tm_score_structure_2 (normalised by the reference length).API Reference
Config: USalignConfig
Config: USalignConfig
True is coerced to 1 and False to 0.None waits indefinitely.BaseToolOutput.approx_equal), and the seed participates in cache keys. When None, cacheable seed-sensitive tools skip cache until seeded.Output: USalignOutput
Output: USalignOutput
output.metrics.tm_score_structure_1 or output.tm_score_structure_1 (the forwarded shortcut from :class:BaseToolOutput).| Metric | Type | Range | Availability |
|---|---|---|---|
tm_score_structure_1 | float | 0.0 to 1.0 | always |
tm_score_structure_2 | float | 0.0 to 1.0 | always |
Applications
This tool is the appropriate choice for any pairwise structure comparison that may include multiple chains, nucleic acid components, or a mix of protein and nucleic acid. Representative applications include validating a predicted multimeric complex against an experimental reference, ranking designed binder-target poses by interface architecture, comparing predicted RNA tertiary structures against known folds, and assessing predicted protein-nucleic acid assemblies against experimentally determined complexes.Usage Tips
- The two TM-scores differ when the query and reference have different total lengths. Each score is normalised by the length of the named structure (summed across all aligned chains), so the score normalised by the shorter structure is typically the larger of the two. Use the score normalised by the structure whose length matters for the comparison, typically the reference or target when ranking candidates against a fixed structure.
- A TM-score above 0.5 indicates the structures share the same fold or complex architecture. This threshold is statistically derived from a non-redundant analysis of the Protein Data Bank (Xu and Zhang, 2010) and is the standard fold-similarity cutoff in the literature. The same interpretation applies to monomers, multimers, and nucleic acid structures.
- For single-chain protein-only inputs, prefer the TMalign tool. TMalign runs the original single-chain TM-score alignment algorithm and is faster for guaranteed single-chain protein inputs. USalign is the appropriate choice when either input may be multi-chain or may contain nucleic acid residues.
- The tool always runs in multi-chain oligomeric mode (
-mm 1) and aligns every chain of the first model in each input (-ter 1). This is the recommended mode for complex structure comparison and is also valid for monomer inputs. Molecule type is auto-detected from the input residues, so the same call handles proteins, RNA, DNA, and mixed assemblies without explicit configuration. - Multi-chain inputs should carry distinct chain identifiers. The chain-to-chain mapping algorithm uses the chain IDs from the input PDB to track the joint alignment, so duplicated or missing chain IDs in a multi-chain input can result in suboptimal chain pairings.
Toolkit Notes
These apply to every USalign tool in this toolkit (usalign-alignment).
- Outputs are returned as typed metric objects. Each
USalignMetricsresult carries bothtm_score_structure_1andtm_score_structure_2. Results can be exported to JSON through the standard export method. - Inputs accept a
Structureobject, a file path, or raw PDB or mmCIF content. Each input is normalised to aStructurebefore scoring, and the corresponding PDB text is passed to USalign through a temporary file. - USalign runs on CPU and is fast enough for batch comparison of large structure sets. No GPU is used, and per-pair runtime scales with the combined length of the two structures and the number of chains.