All models

TomoTwin

A 3D CNN that embeds cryo-electron tomogram subvolumes so that macromolecules can be located by structure.

Molecules, proteins and genomics · 44 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (45 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
77.6M
Operations
44
Framework
PyTorch
Recurrent
No
Published
2022, Nature Methods
Cited by
100 (as of 27 October 2026)
Authors
Gavin Rice, Thorsten Wagner, Markus Stabrin and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m20993
Graph hash
7fc67c8e672c92044a407d5a8ad5118cbfa0c75b95e7dd76bc04b4eaa5e7b9b2
Skeleton hash
4ecfba4b4b03efe76c9c7d60b1ba02f24def300ea7b9ccf8a3f5939584cf7a34
Architecture hash
b423c6114644b85d62f8425846d02c5ea2bd25ed844027e7003f45ff750ba37e
Diagram SHA-256
43d322e1e4dd94c2129d7ad2db8225dce408579b08010648891aec1eaae7cdf6
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

TomoTwin is a general model for particle picking, the step of locating macromolecules, in cryogenic-electron tomograms, based on deep metric learning. By embedding tomograms in a space that separates macromolecules by their three-dimensional structure, it lets users identify proteins without manually creating training data or retraining the network to locate new proteins.

The network is a 3D CNN of five convolutional blocks followed by a head network. Each block has two 3D convolutional layers with 3 × 3 × 3 kernels, each followed by a normalization layer and a leaky rectified linear activation. It transforms each 37 × 37 × 37 subvolume into a 32-length feature vector. That vector is L2-normalized to give the output embedding.

Training uses triplets of subvolumes from simulated tomograms: two containing the same protein and one a different protein. In the paper's hyperparameter search, group normalization outperformed the more common batch normalization. A standard triplet loss also performed better than the SphereFace and ArcFace losses. On a simulated tomogram of seven proteins that were not in the training set, the paper reports a median F1 score of 0.82.

Key idea. TomoTwin is a general particle picking model for cryo-electron tomograms that embeds subvolumes by 3D structure, locating new proteins without manually created training data or retraining.

  • tomotwin
  • cryo-et particle picking
  • cryo-electron tomography
  • particle picking
  • deep metric learning
  • triplet network
  • macromolecule localization
  • tomogram embedding
  • structural data mining

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Rice_2023, title={TomoTwin: generalized 3D localization of macromolecules in cryo-electron tomograms with structural data mining}, volume={20}, ISSN={1548-7105}, url={http://dx.doi.org/10.1038/s41592-023-01878-z}, DOI={10.1038/s41592-023-01878-z}, number={6}, journal={Nature Methods}, publisher={Springer Science and Business Media LLC}, author={Rice, Gavin and Wagner, Thorsten and Stabrin, Markus and Sitsel, Oleg and Prumbaum, Daniel and Raunser, Stefan}, year={2023}, month=May, pages={871–880} }